migration
This commit is contained in:
12
hyprland/hypr/hypridle.conf
Normal file
12
hyprland/hypr/hypridle.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || ~/.config/hypr/run-hyprlock.sh
|
||||
before_sleep_cmd = loginctl lock-session # lock before suspend
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
inhibit_sleep = 2
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600 # 10 minutes
|
||||
on-timeout = hyprctl dispatch dpms off # screen off
|
||||
on-resume = hyprctl dispatch dpms on # screen on when activity detected
|
||||
}
|
||||
Reference in New Issue
Block a user