mirror of
https://github.com/danielepintore/dotfiles.git
synced 2026-06-15 20:25:13 +02:00
Update hyrpidle: now starts with systemd since we are using uwsm
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock # dbus/sysd lock command (loginctl lock-session)
|
||||
#unlock_cmd = notify-send "unlock!" # same as above, but unlock
|
||||
before_sleep_cmd = playerctl stop; hyprlock # command ran before sleep
|
||||
#after_sleep_cmd = notify-send "Awake!" # command ran after sleep
|
||||
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
|
||||
ignore_systemd_inhibit = false # whether to ignore systemd-inhibit --what=idle inhibitors
|
||||
before_sleep_cmd = playerctl stop; loginctl lock-session # command ran before sleep
|
||||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 360 # in seconds
|
||||
on-timeout = hyprlock # command to run when timeout has passed
|
||||
on-timeout = loginctl lock-session # command to run when timeout has passed
|
||||
#on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ exec-once = uwsm app -- dunst
|
||||
exec-once = uwsm app -- batsignal -b -e -w 30 -c 20 -d 10 -f 100
|
||||
exec-once = uwsm app -- nm-applet
|
||||
exec-once = uwsm app -- sleep 1 && blueman-applet
|
||||
exec-once = uwsm app -- hypridle
|
||||
exec-once = uwsm app -- sleep 2 && udiskie --tray # automount external hdds or usbs
|
||||
exec-once = uwsm app -- xwaylandvideobridge
|
||||
|
||||
|
||||
Reference in New Issue
Block a user