about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/exit3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/exit b/scripts/exit
index 6f89a6a..48fcf5a 100755
--- a/scripts/exit
+++ b/scripts/exit
@@ -5,9 +5,10 @@
 ###
 
 DMENU='dmenu'
-choice=$(echo -e "suspend\nhibernate\nshutdown\nreboot" | $DMENU)
+choice=$(echo -e "logout\nsuspend\nhibernate\nshutdown\nreboot" | $DMENU)
 
 case "$choice" in
+  logout) kill -9 -1 & ;;
   suspend) systemctl suspend & ;;
   hibernate) systemctl hibernate & ;;
   shutdown) systemctl shutdown -h now & ;;