Wire up shutdown buttons

This commit is contained in:
Jake Howard 2018-11-18 22:18:06 +00:00
parent 4cc5624f82
commit b4180d998b
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 2 additions and 4 deletions

View file

@ -41,10 +41,6 @@ bindsym Control+Q exec --no-startup-id /bin/false
bindsym Shift+Print exec --no-startup-id flameshot screen -c bindsym Shift+Print exec --no-startup-id flameshot screen -c
bindsym Print exec --no-startup-id flameshot gui bindsym Print exec --no-startup-id flameshot gui
# 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 bindsym $mod+Shift+q kill
# Focus # Focus

View file

@ -108,8 +108,10 @@ label-open = 
label-close = label-close =
menu-0-0 = Shutdown menu-0-0 = Shutdown
menu-0-0-foreground = ${colors.alert} menu-0-0-foreground = ${colors.alert}
menu-0-0-exec = shutdown -h now
menu-0-1 = Restart menu-0-1 = Restart
menu-0-1-foreground = #0F0 menu-0-1-foreground = #0F0
menu-0-1-exec = shutdown -r now
label-separator = " | " label-separator = " | "
expand-right = false expand-right = false