added hypridle

This commit is contained in:
Maximilian Wagner
2025-06-21 17:28:29 +02:00
parent 665351aaac
commit 44a5aa2e93
2 changed files with 34 additions and 3 deletions

24
hypridle.conf Normal file
View File

@@ -0,0 +1,24 @@
general {
lock_cmd = hyprlock
before_sleep_cmd = hyprlock --no-fade-in --immediate -q && sleep 0.5
inhibit_sleep = 3
}
listener {
timeout = 300
on-timeout = brightnessctl -c backlight -s set 10%
on-resume = brightnessctl -c backlight -r
}
listener {
timeout = 410
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 420
on-timeout = hyprlock --no-fade-in --immediate -q && systemctl suspend
}