sketchybar: fix focused native space status

just took the one from aerospace, and like they are not the same thing.
who knew.
This commit is contained in:
Nico 2025-10-20 01:05:01 +11:00
parent beaf8a5754
commit 62740c2b4c
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0

View file

@ -1 +0,0 @@
aerospace.sh

View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source $SCRIPT_DIR/../colours.sh
if [ $SELECTED = 'true' ]; then
sketchybar --set $NAME background.color=$PRIMARY_COLOUR label.color=$BACKGROUND_COLOUR
else
sketchybar --set $NAME background.color=$BACKGROUND_COLOUR label.color=$PRIMARY_COLOUR
fi