Hypridle, searxng

This commit is contained in:
Aleksandr Lebedev 2026-02-05 13:06:33 +01:00
parent 9ff8e28664
commit d0fc98ca4f
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,16 @@
general {
lock_cmd = qs ipc call lock lock
before_sleep_cmd = loginctl lock-session
ignore_dbus_inhibit = false
ignore_systemd_inhibit = false
}
listener {
timeout = 870
on-timeout = ~/.config/hypr/suspend-script.sh 'notify-send "You are idle. Going to sleep in 30 seconds"'
}
listener {
timeout = 900
on-timeout = ~/.config/hypr/suspend-script.sh 'loginctl suspend'
}