mirror of
https://github.com/deltathetawastaken/dotfiles.git
synced 2025-12-06 07:16:37 +03:00
21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
general {
|
|
lock_cmd = /home/delta/scripts/swaylock # dbus/sysd lock command (loginctl lock-session)
|
|
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
|
|
}
|
|
|
|
listener {
|
|
timeout = 200
|
|
before_sleep_cmd = notify-send -h string:x-canonical-private-synchronous:sys-notify -t 2400 -i face-yawn-symbolic 'Sleep' 'will inhibit soon'
|
|
}
|
|
`
|
|
listener {
|
|
timeout = 230 # in seconds
|
|
on-timeout = /home/delta/Documents/dotfiles/apps/hyprland/scripts/DM/brightness-kbd.sh on-timeout && /home/delta/Documents/dotfiles/apps/hyprland/scripts/DM/brightness.sh on-timeout # command to run when timeout has passed
|
|
on-resume = /home/delta/Documents/dotfiles/apps/hyprland/scripts/DM/brightness-kbd.sh on-resume && /home/delta/Documents/dotfiles/apps/hyprland/scripts/DM/brightness.sh on-resume # command to run when activity is detected after timeout has fired.
|
|
}
|
|
|
|
listener {
|
|
timeout = 260 # in seconds
|
|
on-timeout = ~/scripts/swaylock # command to run when timeout has passed
|
|
}
|