Add i3 suspend keybind
This commit is contained in:
parent
3e6d483c76
commit
a14ba00b66
1 changed files with 3 additions and 2 deletions
|
@ -85,12 +85,13 @@ pkgs.writeText "i3-conf" ''
|
|||
bindsym $mod+d exec --no-startup-id "rofi -theme 'Arc-Dark' -show combi -combi-modes 'run' -modes combi"
|
||||
|
||||
bindsym $mod+Shift+p mode "$mode_system"
|
||||
set $mode_system (l)ock, (h)ibernate, (r)eboot, (s)hutdown
|
||||
set $mode_system (l)ock, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown
|
||||
mode "$mode_system" {
|
||||
bindsym l exec --no-startup-id i3lock, mode "default"
|
||||
bindsym s exec --no-startup-id "i3lock; systemctl suspend", mode "default"
|
||||
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||
bindsym s exec --no-startup-id systemctl poweroff, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id systemctl poweroff, mode "default"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue