diff options
Diffstat (limited to '')
| -rw-r--r-- | config/hypr/hypridle.conf | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf new file mode 100644 index 0000000..8809a22 --- /dev/null +++ b/config/hypr/hypridle.conf @@ -0,0 +1,33 @@ +$suspend_cmd = pidof steam || systemctl suspend || loginctl suspend + +# General_settings +general { + before_sleep_cmd = hyprlock # command before sleep + ignore_dbus_inhibit = false # (used by e.g. firefox or steam) +} + +# Screen_brightness +listener { + timeout = 300 + on-timeout = brightnessctl s 20% + on-resume = brightnessctl s 100% +} + +# Screen_lock +listener { + timeout = 600 + on-timeout = hyprlock +} + +# Screen_off +listener { + timeout = 780 + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on +} + +# Suspend +listener { + timeout = 1200 + on-timeout = $suspend_cmd +} |
