17 lines
878 B
Text
17 lines
878 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 = 90 # 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 && pkill hyprpanel # command to run when timeout has passed
|
|
on-resume = hyprctl dispatch dpms on && sleep 5 && hyprpanel # command to run when activity is detected after timeout has fired.
|
|
}
|