dotfiles/.config/hypr/hypridle.conf
2025-10-25 19:01:32 +02:00

17 lines
1,010 B
Text

general {
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
ignore_systemd_inhibit = false # whether to ignore systemd-inhibit --what=idle inhibitors
}
listener {
timeout = 60 # in seconds
on-timeout = hyprlock # command to run when timeout has passed
}
listener {
timeout = 120 # 5.5min
#on-timeout = hyprctl dispatch dpms off # command to run when timeout has passed
#on-resume = hyprctl dispatch dpms on # command to run when activity is detected after timeout has fired.
on-timeout = hyprctl dispatch dpms off && hyprctl output remove headless && pkill hyprpanel# command to run when timeout has passed
on-resume = hyprctl dispatch dpms on && sleep 5 && hyprctl output add headless headless && hyprctl keyword monitor headless,1920x1280,760x1440,1 && hyprpanel # command to run when activity is detected after timeout has fired.
}