Compare commits

..

3 commits

Author SHA1 Message Date
5c1b447b02 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.
2025-09-13 22:25:37 +09:00
8d7981e027 Kill dim on wakeup 2025-09-13 22:24:58 +09:00
a17aa97d68 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.
2025-09-13 21:51:29 +09:00
2 changed files with 8 additions and 6 deletions

View file

@ -11,23 +11,24 @@ general {
after_sleep_cmd = hyprctl dispatch dpms on 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 { listener {
timeout = 150 timeout = 115
# Only dims the screen, does not lock yet # Only dims the screen, does not lock yet
# This shows you that lock will happen soon # This shows you that lock will happen soon
on-timeout = dim on-timeout = dim
on-resume = pkill -x dim
} }
# Step 2: Lock screen at 5 min idle # Step 2: Lock screen at 2 min idle
listener { listener {
timeout = 300 timeout = 120
on-timeout = ~/.config/hypr/scripts/lock.sh 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 { listener {
timeout = 330 timeout = 300
on-timeout = hyprctl dispatch dpms off && ddcutil setvcp 10 0 on-timeout = hyprctl dispatch dpms off && ddcutil setvcp 10 0
# Explanation: # Explanation:

View file

@ -162,6 +162,7 @@ animations {
dwindle { dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this preserve_split = true # You probably want this
force_split = 2
} }
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more