Move to Hyprlock and Hypridle

This commit is contained in:
Michael Bradley 2025-05-05 20:12:32 -04:00
parent 07976eea16
commit dbf5d34ada
Signed by: MichaelBradley
SSH key fingerprint: SHA256:BKO2eI2LPsCbQS3n3i5SdwZTAIV3F1lHezR07qP+Ob0
7 changed files with 83 additions and 19 deletions

34
hypr/hypridle.conf Normal file
View file

@ -0,0 +1,34 @@
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dmps on
inhibit_sleep = 0
}
listener {
timeout = 120
on-timeout = brightnessctl -sd amdgpu_bl1 set 66-
on-resume = brightnessctl -rd amdgpu_bl1
}
listener {
timeout = 240
on-timeout = brightnessctl -d amdgpu_bl1 set 0 && brightnessctl -sd chromeos::kbd_backlight set 0
on-resume = brightnessctl -rd chromeos::kbd_backlight
}
listener {
timeout = 270
on-timeout = loginctl lock-session
}
listener {
timeout = 300
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 330
on-timeout = systemctl suspend
}