Skip to content
Discussion options

You must be logged in to vote

Using brackets is the way to go, simply add this at the top of your sketchybarrc (before adding any other items):

sketchybar --add item left_anchor left --set left_anchor width=0 \
           --add item q_anchor q --set q_anchor width=0 \
           --add item e_anchor e --set e_anchor width=0 \
           --add item right_anchor right --set right_anchor width=0 \
           --add bracket left_bar left_anchor q_anchor \
           --set left_bar background.color=0xff000000 \
           --add bracket right_bar e_anchor right_anchor \
           --set right_bar background.color=0xffffffff

now you can control the properties of the left_bar and right_bar trough its bracket background properties.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by FelixKratz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #578 on July 23, 2024 11:08.