From a17aa97d68319f1e71cae31179f27f9ebf85c653 Mon Sep 17 00:00:00 2001 From: Jeena Date: Sat, 13 Sep 2025 21:51:29 +0900 Subject: [PATCH 1/3] Fix timeout times in hypridle For some reason when there was too much time between dim and lock it would always wake up and stay awake for ever. --- hypr/hypridle.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index 857b620..52a819f 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -11,23 +11,23 @@ general { after_sleep_cmd = hyprctl dispatch dpms on } -# Step 1: Dim monitor at 2.5 min idle (warning that it will lock soon) +# Step 1: Dim monitor at 115 sec idle (warning that it will lock soon) listener { - timeout = 150 + timeout = 115 # Only dims the screen, does not lock yet # This shows you that lock will happen soon on-timeout = dim } -# Step 2: Lock screen at 5 min idle +# Step 2: Lock screen at 2 min idle listener { - timeout = 300 + timeout = 120 on-timeout = ~/.config/hypr/scripts/lock.sh } -# Step 3: Turn screen off at 5.5 min idle +# Step 3: Turn screen off at 5 min idle listener { - timeout = 330 + timeout = 300 on-timeout = hyprctl dispatch dpms off && ddcutil setvcp 10 0 # Explanation: From 8d7981e027163ebefb3c640c8c9f85fdfb3c4100 Mon Sep 17 00:00:00 2001 From: Jeena Date: Sat, 13 Sep 2025 22:24:58 +0900 Subject: [PATCH 2/3] Kill dim on wakeup --- hypr/hypridle.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index 52a819f..49aa6de 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -17,6 +17,7 @@ listener { # Only dims the screen, does not lock yet # This shows you that lock will happen soon on-timeout = dim + on-resume = pkill -x dim } # Step 2: Lock screen at 2 min idle From 5c1b447b02a01e78c7907ad00e5ccf8dc2160122 Mon Sep 17 00:00:00 2001 From: Jeena Date: Sat, 13 Sep 2025 22:25:37 +0900 Subject: [PATCH 3/3] Set force_split = 2 in hyprland.conf It felt always random where a new window would be opened, turns out it was set to smart_split so it would check where tho mouse cursor is and split to that side. With this change it will always open right/bottom. --- hypr/hyprland.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 41a8a47..868de55 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -162,6 +162,7 @@ animations { dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this + force_split = 2 } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more