Add shutdown buttons

This commit is contained in:
Jake Howard 2017-10-19 21:37:56 +01:00
parent e8e9edb78b
commit d0faeb2600
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -9,7 +9,6 @@ smart_gaps on
for_window [class="^.*"] gaps inner all set 0
# i3 shortcuts
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
@ -36,6 +35,9 @@ bindsym Print exec --no-startup-id gnome-screenshot -c
bindsym $mod+Print exec --no-startup-id sc
bindsym $mod+Shift+Print exec --no-startup-id sc -a
# System
bindsym $mod+Shift+Delete exec "i3-nagbar -t error -m 'Shutdown or Restart?' -b 'Restart' 'shutdown -r now' -b 'Shutdown' 'shutdown -h now'"
bindsym $mod+Shift+q kill