Remove a couple of points from dynamic width #247
-
|
I want the width to still be dynamic, but get rid of the extra background on the sides Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The background width at the sides is controlled by the left padding of the item and the right padding of the label, if both are drawing, as in the visualization shown on the website: https://felixkratz.github.io/SketchyBar/config/items. If either icon or label are not drawing, the excess width is controlled by the paddings of the remaining text. Try this: sketchybar --set <name> icon.padding_left=0 label.padding_right=0and play with the values till you arrive at something you like. You could also go negative with these values. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks! |
Beta Was this translation helpful? Give feedback.

The background width at the sides is controlled by the left padding of the item and the right padding of the label, if both are drawing, as in the visualization shown on the website: https://felixkratz.github.io/SketchyBar/config/items. If either icon or label are not drawing, the excess width is controlled by the paddings of the remaining text.
Try this:
and play with the values till you arrive at something you like. You could also go negative with these values.