File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
108listener {
@@ -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+ }
You can’t perform that action at this time.
0 commit comments