From ffae586fd996eeb0aa2e8c2849072091c802f066 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Thu, 13 Jun 2019 19:10:47 +0200 Subject: Added logout option to the exit script --- scripts/exit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 & ;; -- cgit 1.4.1