From 5798601f2527b6535fbafba7e22de4dd53954718 Mon Sep 17 00:00:00 2001 From: "eric.marin" 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