better structure

This commit is contained in:
2025-10-19 00:14:19 +02:00
parent 057afc086e
commit 8733656ed9
630 changed files with 81 additions and 137 deletions

23
config/hypr/hypridle.conf Executable file
View File

@@ -0,0 +1,23 @@
$lock_cmd = pidof hyprlock || hyprlock
$suspend_cmd = pidof steam || systemctl suspend || loginctl suspend # fuck nvidia
general {
lock_cmd = $lock_cmd
before_sleep_cmd = loginctl lock-session
}
listener {
timeout = 180 # 3mins
on-timeout = loginctl lock-session
}
listener {
timeout = 300 # 5mins
on-timeout = hyprctl dispatch dpms off || niri msg action power-off-monitors
on-resume = hyprctl dispatch dpms on || true
}
#listener {
# timeout = 540 # 9mins
# on-timeout = $suspend_cmd
#}