fix freeze eww

This commit is contained in:
sora committed 2026-09-11 22:40:11 +02:00
1 parent 98ac3a8844
commit c8251c6f6d
12 files changed
+76 -26

No files matched your search

@@ -8,6 +8,7 @@ active() { systemctl --user is-active --quiet "$unit" || pgrep -x wlsunset >/dev
case ${1:-} in
status) active && echo true || echo false ;;
*)
detach_self "$@"
if active; then
systemctl --user stop "$unit" 2>/dev/null
pkill -x wlsunset