Skip to content

Commit b730c8e

Browse files
committed
Address misc section in original commit
1 parent 8e2fbbd commit b730c8e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

config/hypr/hypridle.conf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ general {
33
before_sleep_cmd = loginctl lock-session # lock before suspend.
44
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
55
inhibit_sleep = 3 # wait until screen is locked
6-
key_press_enables_dpms = true # to prevent initial key press being passed to hyprlock password field on wake
7-
mouse_move_enables_dpms = true # to allow mouse movement to trigger wake
86
}
97

108
listener {
@@ -22,3 +20,8 @@ listener {
2220
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
2321
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected
2422
}
23+
24+
misc {
25+
key_press_enables_dpms = true # to prevent initial key press being passed to hyprlock password field on wake
26+
mouse_move_enables_dpms = true # to allow mouse movement to trigger wake
27+
}

0 commit comments

Comments
 (0)