hehe
This commit is contained in:
18
home-manager/hypr/hypridle.conf
Normal file
18
home-manager/hypr/hypridle.conf
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user