Skip to content

HyperIDLE issue when going to sleep #41

@lx78WyY0J5

Description

@lx78WyY0J5

After going to sleep
KeyBoard stay On
Screen stay OFF
and the OS stay unresponsive

avoids the critical mistake of calling dpms off just before systemctl suspend:

general {
    lock_cmd = pidof hyprlock || hyprlock
    unlock_cmd = loginctl unlock-session
    before_sleep_cmd = loginctl lock-session
    after_sleep_cmd = hyprctl dispatch dpms on
}

# Lock screen after 5.5 minutes
listener {
    timeout = 330
    on-timeout = pidof hyprlock || ~/show_desktop.sh 0.05 ; $(hyprlock ; ~/show_desktop.sh)
}

# Turn screen off after 6 minutes
listener {
    timeout = 360
    on-timeout = hyprctl dispatch dpms off
    on-resume = hyprctl dispatch dpms on
}

# Suspend after 30 minutes (no dpms off before suspend!)
listener {
    timeout = 1800
    on-timeout = systemctl suspend
}

Key Fixes:
✅ Removed dpms off before systemctl suspend — this prevents display state conflicts on resume.
✅ after_sleep_cmd = hyprctl dispatch dpms on ensures the display is re-enabled after waking from suspend.
✅ Works reliably with AMD GPUs, as no NVIDIA-specific quirks are needed.


Test such update & wait and see

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions