dotfiles/hypr/hypridle.conf

23 lines
929 B
Text
Raw Permalink Normal View History

2024-02-27 20:37:34 +00:00
general {
2024-03-01 16:31:45 +00:00
lock_cmd = notify-send "lock!" # dbus/sysd lock command (loginctl lock-session)
unlock_cmd = notify-send "unlock!" # same as above, but unlock
2024-03-11 14:30:44 +00:00
before_sleep_cmd = # command ran before sleep
after_sleep_cmd = # command ran after sleep
2024-03-01 16:31:45 +00:00
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
2024-02-27 20:37:34 +00:00
}
# Screenlock
listener {
2024-03-01 16:31:45 +00:00
timeout = 600 # in seconds
2024-02-27 20:37:34 +00:00
on-timeout = hyprlock # command to run when timeout has passed
2024-03-11 14:30:44 +00:00
on-resume = # command to run when activity is detected after timeout has fired.
2024-02-27 20:37:34 +00:00
}
# Suspend
listener {
2024-03-01 16:31:45 +00:00
# timeout = 350 # in seconds
# on-timeout = systemctl suspend # command to run when timeout has passed
# on-resume = notify-send "Welcome back Thomas!" # command to run when activity is detected after timeout has fired.
2024-02-27 20:37:34 +00:00
}