added hypridle
This commit is contained in:
24
hypridle.conf
Normal file
24
hypridle.conf
Normal file
@@ -0,0 +1,24 @@
|
||||
general {
|
||||
lock_cmd = hyprlock
|
||||
before_sleep_cmd = hyprlock --no-fade-in --immediate -q && sleep 0.5
|
||||
inhibit_sleep = 3
|
||||
}
|
||||
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = brightnessctl -c backlight -s set 10%
|
||||
on-resume = brightnessctl -c backlight -r
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 410
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 420
|
||||
on-timeout = hyprlock --no-fade-in --immediate -q && systemctl suspend
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user