From 2b1dfaf36239ddad539416db262dcc5d8b08d67b Mon Sep 17 00:00:00 2001 From: Yousef Jan Date: Wed, 2 Sep 2026 12:22:01 +0300 Subject: Updates --- hypr/hypridle.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hypr/hypridle.conf (limited to 'hypr/hypridle.conf') diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf new file mode 100644 index 0000000..9f6cc4b --- /dev/null +++ b/hypr/hypridle.conf @@ -0,0 +1,16 @@ +general { + lock_cmd = pidof hyprlock || hyprlock + before_sleep_cmd = loginctl lock-session + after_sleep_cmd = hyprctl dispatch 'hl.dsp.dpms({action = "on"})' +} + +listener { + timeout = 600 # 10 min - lock the session + on-timeout = loginctl lock-session +} + +listener { + timeout = 720 # 12 min - blank the display + on-timeout = hyprctl dispatch 'hl.dsp.dpms({action = "off"})' + on-resume = hyprctl dispatch 'hl.dsp.dpms({action = "on"})' +} -- cgit v1.2.3