Improve lockhelper for gunter

This commit is contained in:
2024-06-11 00:53:59 +02:00
parent d5855878d3
commit eb0c53d8e2
6 changed files with 43 additions and 9 deletions

View File

@@ -1,12 +1,12 @@
general {
lock_cmd = hyprlock # dbus/sysd lock command (loginctl lock-session)
# unlock_cmd = notify-send "unlock!" # same as above, but unlock
before_sleep_cmd = hyprlock # command ran before sleep
before_sleep_cmd = lockhelper # command ran before sleep
# after_sleep_cmd = # command ran after sleep
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
}
listener {
timeout = 240 # in seconds
on-timeout = hyprlock # command to run when timeout has passed
on-timeout = lockhelper # command to run when timeout has passed
}