Created
December 13, 2025 17:28
-
-
Save greed-d/ab237322006f003cb34a4a8f0ceec270 to your computer and use it in GitHub Desktop.
Hypridle for niri
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Default config taken from hypridle wiki : https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/ | |
| general { | |
| lock_cmd = pidof qs || qs -c noctalia-shell ipc call lockScreen lock # avoid multiple hyprlock instance | |
| before_sleep_cmd = qs -c noctalia-shell ipc call lockScreen lock | |
| after_sleep_cmd = niri msg action power-on-monitors# press one key to wake up screen | |
| } | |
| listener { | |
| timeout = 150 | |
| on-timeout = brightnessctl -s set 0 | |
| on-resume = brightnessctl -r | |
| } | |
| listener { | |
| timeout = 300 | |
| on-timeout = dms ipc call lock lock | |
| } | |
| listener { | |
| timeout = 330 | |
| on-timeout = niri msg action power-off-monitors | |
| on-resume = niri msg action power-on-monitors | |
| } | |
| listener { | |
| timeout = 1800 | |
| on-timeout = systemctl suspend | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment