diff --git a/config b/config index 1885ca4..20d6f6d 100644 --- a/config +++ b/config @@ -90,9 +90,9 @@ exec wl-paste --watch cliphist store ### Idle configuration (from your swaylock setup) exec swayidle -w \ - timeout 300 'swaylock --clock --indicator --color 1e1e2e -f' \ + timeout 300 'pgrep swaylock || swaylock --clock --indicator --color 1e1e2e -f' \ timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ - before-sleep 'swaylock --clock --indicator --color 1e1e2e -f' + before-sleep 'pgrep swaylock || swaylock --clock --indicator --color 1e1e2e -f' ### Key bindings (converted from Hyprland)