diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2018-11-29 17:06:57 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2018-11-29 17:06:57 +0100 |
commit | 22908f63941e3d70b406bbc015a5948282aad410 (patch) | |
tree | 7edeb9c3b6da2f503a0b989a0feab87081496111 /systemControl.sh | |
parent | 5a54e83ba33476d77de52c9385ba78cf5ec22c75 (diff) | |
download | scripts-22908f63941e3d70b406bbc015a5948282aad410.tar.gz scripts-22908f63941e3d70b406bbc015a5948282aad410.zip |
Made executable and cleaned bash explicit calls.
Diffstat (limited to 'systemControl.sh')
-rwxr-xr-x[-rw-r--r--] | systemControl.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/systemControl.sh b/systemControl.sh index aa200b3..b7ba5ee 100644..100755 --- a/systemControl.sh +++ b/systemControl.sh @@ -3,11 +3,11 @@ options="lock\nreboot\nshutdown\nexit i3" -chosen=$(echo -e "$options" | dmenu) +chosen=$(echo -e "$options" | dmenu -p ">_") case "$chosen" in lock) i3lock -i ~/images/wallpapers/lockbg.png -f ;; - reboot) bash ~/scripts/prompt.sh Reboot? reboot ;; - shutdown) bash ~/scripts/prompt.sh Shutdown? "shutdown now" ;; - "exit i3") bash ~/scripts/prompt.sh "Exit i3? (ends X session)" "i3-msg exit" ;; + reboot) ~/scripts/prompt.sh Reboot? reboot ;; + shutdown) ~/scripts/prompt.sh Shutdown? "shutdown now" ;; + "exit i3") ~/scripts/prompt.sh "Exit i3? (ends X session)" "i3-msg exit" ;; esac |