diff --git a/wayland/.config/river/init b/wayland/.config/river/init index 81ec6b6..65e2300 100755 --- a/wayland/.config/river/init +++ b/wayland/.config/river/init @@ -250,12 +250,12 @@ exec kanshi & # start screen idle locking/dimming/sleep tool killall swayidle exec swayidle \ - timeout "${time_to_lockscreen}" 'lockscreen' \ + timeout "${time_to_lockscreen}" 'pidof waylock || lockscreen' \ timeout "${time_to_screendim}" 'wlopm --off "*"' \ timeout "${time_to_suspend}" 'systemctl suspend-then-hibernate' \ - resume 'wlopm --on "*"' \ - after-resume 'wlopm --on "*"' \ - before-sleep 'lockscreen' & + resume 'wlopm --on "*"' \ + after-resume 'wlopm --on "*"' \ + before-sleep 'pidof waylock || lockscreen' & killall clipman exec wl-paste -t text --watch clipman store &