diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2021-04-07 20:28:41 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2021-04-07 20:28:41 +0200 |
commit | 8f70aa6798b1a3236d5ce884419446539d124e26 (patch) | |
tree | 0d703b401e7ea9870f8f89f7d66d5991b522858d /systemControl.sh | |
parent | 09f106fb2a7f0d585ce4828ea021db653e5d21a6 (diff) | |
download | scripts-8f70aa6798b1a3236d5ce884419446539d124e26.tar.gz scripts-8f70aa6798b1a3236d5ce884419446539d124e26.zip |
Minor changes to some scripts.
Diffstat (limited to 'systemControl.sh')
-rwxr-xr-x | systemControl.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/systemControl.sh b/systemControl.sh index 1bd09d4..a751588 100755 --- a/systemControl.sh +++ b/systemControl.sh @@ -1,7 +1,7 @@ #!/bin/bash # A dmenu prompt script to control system functions. -options="lock\nreboot\nshutdown\nsuspend\nhibernate\nexit i3" +options="lock\nreboot\nshutdown\nsuspend\nhibernate\nexit i3\nexit bspwm" chosen=$(echo -e "$options" | dmenu -p ">_") @@ -12,4 +12,5 @@ case "$chosen" in "suspend") systemctl suspend ;; "hibernate") ~/scripts/prompt.sh Hibernate? "systemctl hibernate" ;; "exit i3") ~/scripts/prompt.sh "Exit i3? (ends X session)" "i3-msg exit" ;; + "exit bspwm") ~/scripts/prompt.sh "Exit bspwm? (ends X session)" "bspc quit" ;; esac |