Add shutdown buttons
This commit is contained in:
parent
e8e9edb78b
commit
d0faeb2600
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue