fix(display): import config & functions
This commit is contained in:
parent
137f143f18
commit
2883e00cdf
1 changed files with 2 additions and 5 deletions
|
|
@ -3,16 +3,13 @@
|
||||||
# laptop display management
|
# laptop display management
|
||||||
|
|
||||||
# Load config & functions
|
# Load config & functions
|
||||||
#. ${HOME}/ayo.conf
|
. ${HOME}/ayo.conf
|
||||||
#. ${scripts_dir}/functions.sh
|
. ${scripts_dir}/functions.sh
|
||||||
|
|
||||||
command=$2
|
command=$2
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
case $command in
|
case $command in
|
||||||
# 0: +*DP-1-1 2560/798x1080/334+0+0 DP-1-1
|
|
||||||
# 1: +HDMI-1 1920/521x1080/293+2560+0 HDMI-1
|
|
||||||
|
|
||||||
"edit")
|
"edit")
|
||||||
vim "${scripts_dir}/display.sh"
|
vim "${scripts_dir}/display.sh"
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue