Skip to content
Discussion options

You must be logged in to vote

From the hypridle documentation:

condition_cmd | Command run when the timeout is reached, before on-timeout. Run via /bin/sh -c; exit code 0 lets on-timeout fire, non-zero defers it. | string | empty

condition_retry | When condition_cmd defers, re-run it every N seconds while the user stays idle, firing on-timeout as soon as it succeeds. 0 disables retrying (the deferred on-timeout is skipped for this idle cycle). | int | 0

Accordingly, you can add the following to your hypridle.conf to automatically turn off all displays after 30 seconds of idling on the lock screen:

# hypridle.conf

listener {
    timeout = 30  # N seconds

    # Lua
    on-timeout = hyprctl dispatch 'hl.dsp.dpms(fa…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jpmvferreira
Comment options

@Speedy1894
Comment options

@jpmvferreira
Comment options

Answer selected by jpmvferreira
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants