From a08d67627eccfbe569af8e3132c726d625925e96 Mon Sep 17 00:00:00 2001 From: Akemi Izuko Date: Mon, 3 Oct 2022 19:02:43 -0600 Subject: [PATCH] Fix sway exit script --- sway/sway_exit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/sway_exit.sh b/sway/sway_exit.sh index 3c5c762..00a177e 100755 --- a/sway/sway_exit.sh +++ b/sway/sway_exit.sh @@ -19,7 +19,7 @@ else swaynag -t warning \ -m 'Are you sure you want to exit sway?' \ -Z 'Yes, exit sway' \ - "swaymsg exit; rm $CNT_FILE" + "swaymsg exit" fi -rm ~/.config/sway/sway_exit_counter &>/dev/null +rm "$CNT_FILE" &>/dev/null