Closed ashish-kus closed 6 months ago
Hyprlock is not getting triggered if the listener time is more than ~40 not sure to be exact but fails to work on 100 and 240
~40
100
240
general { lock_cmd = hyprlock unlock_cmd = killall -q -s SIGUSR1 hyprlock before_sleep_cmd = loginctl lock-session ignore_dbus_inhibit = false } listener { timeout = 240 on-timeout = loginctl lock-session } listener { timeout = 300 on-timeout = sleep 1 && hyprctl dispatch dpms off on-resume = sleep 1 && hyprctl dispatch dpms on } listener { timeout = 420 on-timeout = systemctl suspend } # vim: commentstring=#\ %s
if lock timeout is 10 then it works. but fails if the timeout is 240. (Suspend works, DPMS works but locking does not work)
I found a workaround wherever I call hyprlock i will call pidof hyprlock || hyprlock or just install hyprlock-git source
hyprlock
pidof hyprlock || hyprlock
hyprlock-git
Hyprlock is not getting triggered if the listener time is more than
~40
not sure to be exact but fails to work on100
and240
if lock timeout is 10 then it works. but fails if the timeout is 240. (Suspend works, DPMS works but locking does not work)