diff options
-rw-r--r-- | config | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -272,6 +272,21 @@ mode "$mode_display" { # Declare here the shortcut to bring the display selection menu bindsym $mod+x mode "$mode_display" +# System poweroff, reboot, logout, hibernate, suspend, switch_user +set $mode_system System (e) logout, (u) switch_user, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown +mode "$mode_system" { + bindsym s exec --no-startup-id loginctl suspend, mode "default" + bindsym u exec --no-startup-id i3exit switch_user, mode "default" + bindsym e exec --no-startup-id i3exit logout, mode "default" + bindsym h exec --no-startup-id loginctl hibernate, mode "default" + bindsym r exec --no-startup-id loginctl reboot, mode "default" + bindsym Shift+s exec --no-startup-id loginctl poweroff, mode "default" + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+Pause mode "$mode_system" + #open audio player exec --no-startup-id audacious #players global horkeys |