aboutsummaryrefslogtreecommitdiff
path: root/systemControl.sh
diff options
context:
space:
mode:
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