From bdfde94b6389fd1c42acb46899e02fda93c0b4c7 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 12 Jan 2026 18:24:22 -0500 Subject: [PATCH] [swiftbar] Fix django and celery tasks --- swiftbar/.config/swfitbar/celery-toggle.3s.sh | 4 ++-- swiftbar/.config/swfitbar/django-toggle.3s.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/swiftbar/.config/swfitbar/celery-toggle.3s.sh b/swiftbar/.config/swfitbar/celery-toggle.3s.sh index 1e77617..606db96 100755 --- a/swiftbar/.config/swfitbar/celery-toggle.3s.sh +++ b/swiftbar/.config/swfitbar/celery-toggle.3s.sh @@ -2,8 +2,8 @@ set -euo pipefail # --- CONFIG --- -MATCH="manage.py runserver" -PLIST="$HOME/Library/LaunchAgents/com.hungyroot.celery.plist" +MATCH="celery -A" +PLIST="$HOME/Library/LaunchAgents/com.hungryroot.celery.plist" ICON="🥕" # --- Helpers --- diff --git a/swiftbar/.config/swfitbar/django-toggle.3s.sh b/swiftbar/.config/swfitbar/django-toggle.3s.sh index 2cccf23..e226fac 100755 --- a/swiftbar/.config/swfitbar/django-toggle.3s.sh +++ b/swiftbar/.config/swfitbar/django-toggle.3s.sh @@ -4,7 +4,7 @@ set -euo pipefail PLIST="$HOME/Library/LaunchAgents/com.hungryroot.django.plist" ICON="🔌" -MATCH="manage.py runserver" +MATCH="&& just django" LABEL="$(/usr/bin/plutil -extract Label raw -o - "$PLIST" 2>/dev/null || true)" UID_NUM="$(/usr/bin/id -u)"