Merge pull request #2408 from ianyfan/exit-nag

Change exit binding in default config to nag user, matching i3
This commit is contained in:
Brian Ashworth 2018-08-02 22:35:26 -04:00 committed by GitHub
commit 5ac3509d54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,8 +81,8 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
# reload the configuration file # reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
# exit sway (logs you out of your wayland session) # exit sway (logs you out of your Wayland session)
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'
# #
# Moving around: # Moving around:
# #