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:
parent
beaf8a5754
commit
62740c2b4c
1 changed files with 10 additions and 1 deletions
|
|
@ -1 +0,0 @@
|
|||
aerospace.sh
|
||||
10
stow/.config/sketchybar/plugins/space.sh
Executable file
10
stow/.config/sketchybar/plugins/space.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue