added some suspend/hibernate magic to hyprland and hypridle

This commit is contained in:
Ludwig Lehnert 2025-04-21 12:36:38 +00:00
parent 61b35b0405
commit 2ea969f1dc
2 changed files with 4 additions and 1 deletions

View File

@ -23,5 +23,5 @@ listener {
listener { listener {
timeout = 180 # 3 min timeout = 180 # 3 min
on-timeout = systemctl suspend # suspend pc on-timeout = systemctl hybrid-sleep # suspend pc
} }

View File

@ -214,4 +214,7 @@ bind = , XF86AudioMute, exec, pactl -- set-sink-mute @DEFAULT_SINK@ toggle
bind = , XF86MonBrightnessUp, exec, light -A 5 bind = , XF86MonBrightnessUp, exec, light -A 5
bind = , XF86MonBrightnessDown, exec, light -U 5 bind = , XF86MonBrightnessDown, exec, light -U 5
bind = CONTROL ALT SHIFT, H, exec, systemctl hibernate
bind = CONTROL ALT SHIFT, S, exec, systemctl suspend
bind = , Print, exec, hyprshot -m region --clipboard-only bind = , Print, exec, hyprshot -m region --clipboard-only