sketchybar: create a bracket for all spaces

put all spaces into a bracket, so they share a background.
fixes an issue with rounding creating gaps between modules
This commit is contained in:
Nico 2026-02-07 18:54:26 +11:00
parent b85cc403eb
commit 70887d5568
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0

View file

@ -59,6 +59,14 @@ do
sketchybar --add space space."$sid" left --set space."$sid" "${space[@]}"
done
# put all spaces into a bracket so they share a background
# fixes an issue with rounding creating gaps between modules
#
# yes im doing this in a stupid way and its hard coded but like :3
sketchybar --add bracket spaces space.1 space.2 space.3 space.4 space.5 space.6 space.7 space.8 space.9 \
--set spaces \
background.color=$BACKGROUND_COLOUR
# Focused window title
sketchybar --add item front_app left \