From 1f2c530f0d6e1e32ea462166b1538425b0cd0fcd Mon Sep 17 00:00:00 2001 From: mirenn Date: Mon, 24 Mar 2025 08:42:44 +0100 Subject: update --- hypr/hypridle.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hypr/hypridle.conf') diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index 3479819..7f9a435 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -1,5 +1,7 @@ general { lock_cmd = pidof hyprlock || hyprlock + before_sleep_cmd = loginctl lock-session && niri msg action power-off-monitors + inhibit_sleep = 1 } listener { @@ -10,5 +12,5 @@ listener { listener { timeout = 360 - on-timeout = loginctl lock-session && niri msg action power-off-monitors + on-timeout = systemctl suspend } -- cgit v1.2.3