From 94888e58a24f5cab6d3f05dbe6d335b0869cda55 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Thu, 2 Aug 2018 15:40:26 +0100 Subject: [PATCH] config.in: nag user on exit --- config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.in b/config.in index 41f53461..124f825d 100644 --- a/config.in +++ b/config.in @@ -81,8 +81,8 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # reload the configuration file bindsym $mod+Shift+c reload - # exit sway (logs you out of your wayland session) - bindsym $mod+Shift+e exit + # exit sway (logs you out of your Wayland session) + 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' # # Moving around: #