added system → poweroff, reboot, logout, hibernate, suspend, switch_user
This commit is contained in:
parent
867e1cf679
commit
adf513ff42
15
config
15
config
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user