Hypridle, searxng
This commit is contained in:
parent
9ff8e28664
commit
d0fc98ca4f
3 changed files with 28 additions and 0 deletions
16
hypridle/.config/hypr/hypridle.conf
Normal file
16
hypridle/.config/hypr/hypridle.conf
Normal 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'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue