From 6caceb40d2467d4ec46131fd4e3d88cbfefbcfd3 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Wed, 23 Dec 2020 00:41:56 +0100 Subject: [PATCH] [sway] ask before exiting --- sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/config b/sway/config index 875a9f2..bbe5edc 100644 --- a/sway/config +++ b/sway/config @@ -147,7 +147,7 @@ bindsym --locked XF86AudioStop exec playerctl stop # main commands bindsym $mod+Shift+c reload -bindsym $mod+Shift+e exit +bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' # start a terminal bindsym $mod+Return exec $term