From 22908f63941e3d70b406bbc015a5948282aad410 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Thu, 29 Nov 2018 17:06:57 +0100 Subject: Made executable and cleaned bash explicit calls. --- systemControl.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 systemControl.sh (limited to 'systemControl.sh') diff --git a/systemControl.sh b/systemControl.sh old mode 100644 new mode 100755 index aa200b3..b7ba5ee --- 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 -- cgit v1.2.1