This commit is contained in:
cnst
2024-06-21 17:44:02 +02:00
parent f9b2c71463
commit 9794839977
17 changed files with 634 additions and 62 deletions

View File

@@ -0,0 +1,18 @@
$lock_cmd = pidof hyprlock || hyprlock
$suspend_cmd = pidof steam || systemctl suspend || loginctl suspend # fuck nvidia
general {
lock_cmd = $lock_cmd
before_sleep_cmd = $lock_cmd
}
listener {
timeout = 900 # 15mins
on-timeout = $lock_cmd
}
listener {
timeout = 1200 # 20mins
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}