Remove lock before suspend from i3

This commit is contained in:
Vili Sinervä 2025-04-29 13:10:03 +03:00
parent 75af0e9b19
commit db5c048352
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996

View file

@ -100,7 +100,7 @@ pkgs.writeText "i3-conf" ''
set $mode_system (l)ock, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown set $mode_system (l)ock, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown
mode "$mode_system" { mode "$mode_system" {
bindsym l exec --no-startup-id i3lock, mode "default" bindsym l exec --no-startup-id i3lock, mode "default"
bindsym s exec --no-startup-id "i3lock; systemctl suspend", mode "default" bindsym s exec --no-startup-id systemctl suspend, mode "default"
bindsym h exec --no-startup-id systemctl hibernate, mode "default" bindsym h exec --no-startup-id systemctl hibernate, mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default" bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym Shift+s exec --no-startup-id systemctl poweroff, mode "default" bindsym Shift+s exec --no-startup-id systemctl poweroff, mode "default"