Wire up shutdown buttons
This commit is contained in:
parent
4cc5624f82
commit
b4180d998b
2 changed files with 2 additions and 4 deletions
|
@ -41,10 +41,6 @@ bindsym Control+Q exec --no-startup-id /bin/false
|
|||
bindsym Shift+Print exec --no-startup-id flameshot screen -c
|
||||
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
|
||||
|
||||
# Focus
|
||||
|
|
|
@ -108,8 +108,10 @@ label-open =
|
|||
label-close =
|
||||
menu-0-0 = Shutdown
|
||||
menu-0-0-foreground = ${colors.alert}
|
||||
menu-0-0-exec = shutdown -h now
|
||||
menu-0-1 = Restart
|
||||
menu-0-1-foreground = #0F0
|
||||
menu-0-1-exec = shutdown -r now
|
||||
label-separator = " | "
|
||||
expand-right = false
|
||||
|
||||
|
|
Loading…
Reference in a new issue