aboutsummaryrefslogtreecommitdiff
path: root/systemControl.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2021-04-07 20:28:41 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2021-04-07 20:28:41 +0200
commit8f70aa6798b1a3236d5ce884419446539d124e26 (patch)
tree0d703b401e7ea9870f8f89f7d66d5991b522858d /systemControl.sh
parent09f106fb2a7f0d585ce4828ea021db653e5d21a6 (diff)
downloadscripts-8f70aa6798b1a3236d5ce884419446539d124e26.tar.gz
scripts-8f70aa6798b1a3236d5ce884419446539d124e26.zip
Minor changes to some scripts.
Diffstat (limited to 'systemControl.sh')
-rwxr-xr-xsystemControl.sh3
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