hypridle icon indicating copy to clipboard operation
hypridle copied to clipboard

The default example in the wiki gives me a problem

Open ashley-paul-12345 opened this issue 5 months ago • 1 comments

hi, i use the default example in the wiki but when i wake from the suspend by pressing enter, the screen is black and i have to force reboot

i removed this listener and the problem resolved

listener {
    timeout = 330                                                     # 5.5min
    on-timeout = hyprctl dispatch dpms off                            # screen off when timeout has passed
    on-resume = hyprctl dispatch dpms on && brightnessctl -r          # screen on when activity is detected after timeout has fired.
}

i think on resume doesn't work here, i don't know

this is my cofig

general {
	lock_cmd = pidof hyprlock || hyprlock -q --no-fade-in       # avoid starting multiple hyprlock instances.
	before_sleep_cmd = hyprlock -q --no-fade-in                 # lock before suspend.
}

listener {
    timeout = 600												# 10min.
	on-timeout = brightnessctl set 50% -q                       # set monitor backlight to minimum, avoid 0 on OLED monitor.
	on-resume = brightnessctl set 100% -q					    # monitor backlight restore.
}

listener { 
    timeout = 600												# 10min.
	on-timeout = brightnessctl -d asus::kbd_backlight set 0     # turn off keyboard backlight.
	on-resume = brightnessctl -sd asus::kbd_backlight set 3     # turn on keyboard backlight.
}

listener {
    timeout = 900												# 15min
	on-timeout = hyprlock -q --no-fade-in					    # lock screen when timeout has passed
	on-resume = brightnessctl set 100% -q	                    # screen on when activity is detected after timeout has fired.
}

listener {
    timeout = 330                                                     # 20min
    on-timeout = hyprctl dispatch dpms off                            # screen off when timeout has passed
    on-resume = hyprctl dispatch dpms on && brightnessctl -r          # screen on when activity is detected after timeout has fired.
}

listener {
    timeout = 1800												 # 30min
	on-timeout = systemctl suspend								 # suspend pc
}

ashley-paul-12345 avatar Jul 25 '25 22:07 ashley-paul-12345

you could enable mouse move enables dpms in hyprland maybe, and try moving your mouse

vaxerski avatar Jul 27 '25 12:07 vaxerski