summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-08-02 22:35:26 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-08-02 22:35:26 -0400
commit993c5cee2ba8c61a18166c97c7bf0a3b5b775cad (patch)
tree745c117217c20dc05a447c5e34db1d35fec5b62b
parent8c702f86d66a12fc6e43934d3f2675ac9c9cf218 (diff)
parentf79b5a163bd1693446040c6220edd44aeb68226b (diff)
Merge pull request #2408 from ianyfan/exit-nag
Change exit binding in default config to nag user, matching i3
-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:
#