aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Ashworth <RedSoxFan@users.noreply.github.com>2018-08-02 22:35:26 -0400
committerGitHub <noreply@github.com>2018-08-02 22:35:26 -0400
commit5ac3509d546ee2e585ecb58aeea94ff9f3e8259d (patch)
tree745c117217c20dc05a447c5e34db1d35fec5b62b
parent4eadf9f3ae73637e1479d84331786e3c3676cf65 (diff)
parentb16043aeebd92cca12b21fa36b99799f80bdfc31 (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:
#