nixos/home/hyprland/hypridle_magicman.conf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
890 B
Plaintext
Raw Permalink Normal View History

2024-04-21 09:46:33 +00:00
general {
2024-06-12 10:16:47 +00:00
lock_cmd = lockhelper # dbus/sysd lock command (loginctl lock-session)
2024-04-21 09:46:33 +00:00
# unlock_cmd = notify-send "unlock!" # same as above, but unlock
2024-06-12 10:16:47 +00:00
before_sleep_cmd = lockhelper # command ran before sleep
2024-06-12 11:51:37 +00:00
# after_sleep_cmd = lockhelper # command ran after sleep
2024-04-21 09:46:33 +00:00
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
}
listener {
timeout = 240 # in seconds
2024-06-12 10:16:47 +00:00
on-timeout = lockhelper # command to run when timeout has passed
2024-04-21 09:46:33 +00:00
# on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
}
listener {
timeout = 900
on-timeout = systemctl suspend # command to run when timeout has passed
# on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
}