From 62740c2b4cd315c604244ca69ef62cdd916f2652 Mon Sep 17 00:00:00 2001 From: Nico Date: Mon, 20 Oct 2025 01:05:01 +1100 Subject: [PATCH] sketchybar: fix focused native space status just took the one from aerospace, and like they are not the same thing. who knew. --- stow/.config/sketchybar/plugins/space.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) mode change 120000 => 100755 stow/.config/sketchybar/plugins/space.sh diff --git a/stow/.config/sketchybar/plugins/space.sh b/stow/.config/sketchybar/plugins/space.sh deleted file mode 120000 index 9836491..0000000 --- a/stow/.config/sketchybar/plugins/space.sh +++ /dev/null @@ -1 +0,0 @@ -aerospace.sh \ No newline at end of file diff --git a/stow/.config/sketchybar/plugins/space.sh b/stow/.config/sketchybar/plugins/space.sh new file mode 100755 index 0000000..aec9596 --- /dev/null +++ b/stow/.config/sketchybar/plugins/space.sh @@ -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