Switched sway exit script to use systemd

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2020-01-12 15:35:49 +02:00
parent 18f532970b
commit 186d05c678

View File

@ -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