aboutsummaryrefslogtreecommitdiff
path: root/config.in
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-08-02 15:40:26 +0100
committerIan Fan <ianfan0@gmail.com>2018-08-02 15:42:43 +0100
commit94888e58a24f5cab6d3f05dbe6d335b0869cda55 (patch)
treea6713216327a31da5bfd4d9768ec9ae2bf19ed50 /config.in
parent3eda76de4869984eed7b9476b9e011b6981ecbe5 (diff)
config.in: nag user on exit
Diffstat (limited to 'config.in')
-rw-r--r--config.in4
1 files 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:
#