Skip to content

highlight vs color #60

Answered by FelixKratz
es183923 asked this question in Q&A
Discussion options

You must be logged in to vote

All texts can have a color and a highlight_color, because highlighting is a very frequent use case, e.g. for spaces, clicks,.... The rational here is that the color and highlight_color can be set up in the config and do not need to be hardcoded into some script. In the scripts it is possible to turn on and off highlighting via:

sketchybar -m --set $NAME <icon_highlight/label_highlight>=<on/off/toggle>

without specifying the actual colors. This way the configuration for this is kept in the main sketchybarrc.
E.g. the default space script makes use of this.
Edit: Update to v2.0.0 Syntax

Replies: 1 comment

Comment options

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

This discussion was converted from issue #59 on September 28, 2021 09:05.