Compare commits
3 commits
455943ef3d
...
5c1b447b02
Author | SHA1 | Date | |
---|---|---|---|
5c1b447b02 | |||
8d7981e027 | |||
a17aa97d68 |
2 changed files with 8 additions and 6 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue