Skip to content

Commit 7459a52

Browse files
author
Waylon S. Walker
committed
update hyprland config
1 parent 54576f5 commit 7459a52

File tree

9 files changed

+213
-366
lines changed

9 files changed

+213
-366
lines changed

hypr/.config/hypr/hypridle.conf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# dim screen
2+
general {
3+
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
4+
before_sleep_cmd = loginctl lock-session # lock before suspend.
5+
after_sleep_cmd = hyprctl dispatch dpms on && ddcutil setvcp 10 100 # to avoid having to press a key twice to turn on the display.
6+
}
7+
8+
listener {
9+
timeout = 120 # in seconds.
10+
on-timeout = ddcutil setvcp 10 5 # command to run when timeout has passed.
11+
on-resume = ddcutil setvcp 10 100 # command to run when activity is detected after timeout has fired.
12+
}
13+
14+
# screen off
15+
listener {
16+
timeout = 3600
17+
on-timeout = hyprctl dispatch dpms off
18+
on-resume = hyprctl dispatch dpms on
19+
}
20+
21+
# warning screen is about to go off
22+
listener {
23+
timeout = 315 # in seconds.
24+
on-timeout = notify-send "You are idle!" # command to run when timeout has passed.
25+
}
26+
27+
listener {
28+
timeout = 330 # in seconds.
29+
on-timeout = loginctl lock-session
30+
}
31+

hypr/.config/hypr/hyprland.conf

Lines changed: 0 additions & 366 deletions
This file was deleted.

0 commit comments

Comments
 (0)