better structure
This commit is contained in:
23
config/hypr/hypridle.conf
Executable file
23
config/hypr/hypridle.conf
Executable 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
|
||||
#}
|
||||
Reference in New Issue
Block a user