fix: black screen on wake from suspend (hypridle)
Enable misc:key_press_enables_dpms / mouse_move_enables_dpms so the compositor re-enables the display on input when hypridle's after-sleep dpms-on races with GPU resume. Also delay after_sleep_cmd dpms-on by 2s. Fixes black Hyprland VT after wake while kernel console stays visible.
This commit is contained in:
parent
1384fc68da
commit
00d0cac9e8
2 changed files with 5 additions and 3 deletions
|
|
@ -2,9 +2,6 @@ general {
|
|||
inhibit_sleep = 3
|
||||
lock_cmd = pidof hyprlock || ~/.config/hypr/scripts/lock.sh
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
# Cycle dpms off/on after resume: forces Hyprland to recreate the hyprlock
|
||||
# surfaces and re-grant them keyboard focus, which is otherwise lost after
|
||||
# suspend (hyprlock shows the clock but ignores typing until a dpms cycle)
|
||||
after_sleep_cmd = hyprctl dispatch dpms off && sleep 1 && hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue