From 186d05c67884205712cafb9de9a02c5b75421651 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sun, 12 Jan 2020 15:35:49 +0200 Subject: [PATCH] Switched sway exit script to use systemd Signed-off-by: Marko Korhonen --- home/Scripts/sway-exit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/Scripts/sway-exit.sh b/home/Scripts/sway-exit.sh index 87f2890..f25ab74 100755 --- a/home/Scripts/sway-exit.sh +++ b/home/Scripts/sway-exit.sh @@ -23,7 +23,7 @@ case "$RESP" in loginctl lock-session $(loginctl show-user $USER -p Sessions | cut -d'=' -f2) ;; Exit) - swaymsg exit + systemctl --user stop sway ;; *) exit 1