Add some delays to hypridle / hyprlock launch so blur gets applied

This commit is contained in:
Sravan Balaji
2025-05-03 10:38:12 -04:00
parent 9debc1d08e
commit 69ef245273
2 changed files with 6 additions and 6 deletions

View File

@@ -740,9 +740,9 @@ screencopy {
#+BEGIN_SRC conf :tangle hypridle.conf
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances
before_sleep_cmd = loginctl lock-session # lock before suspend
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key to turn on the display
lock_cmd = pgrep hyprlock || (hyprlock && sleep 3) # avoid starting multiple hyprlock instances
before_sleep_cmd = loginctl lock-session && sleep 3 # lock before suspend
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key to turn on the display
ignore_dbus_inhibit = false
ignore_systemd_inhibit = false
inhibit_sleep = 2

View File

@@ -1,7 +1,7 @@
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances
before_sleep_cmd = loginctl lock-session # lock before suspend
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key to turn on the display
lock_cmd = pgrep hyprlock || (hyprlock && sleep 3) # avoid starting multiple hyprlock instances
before_sleep_cmd = loginctl lock-session && sleep 3 # lock before suspend
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key to turn on the display
ignore_dbus_inhibit = false
ignore_systemd_inhibit = false
inhibit_sleep = 2