domsson / succade

Run, feed and style your Lemonbar with ease
Creative Commons Zero v1.0 Universal
55 stars 3 forks source link

Offset behaves inconsistently #30

Closed domsson closed 4 years ago

domsson commented 4 years ago

When defining an offset for all blocks, the result is different from what it is supposed to be like in that left, center and right aligned blocks all seem to have the offset on the left side, instead of in their alignment direction. I assume this is a bug in Lemonbar and not in succade, so for now we'll have to wait on feedback there.

domsson commented 4 years ago

After further investigation, I believe that this is not a bug in lemonbar, but an issue with how we're using offsets. However, this is good news: the way they actually work will allow us to give the user more fine-grained control. For example, instead of having one offset value, we could offer margin-left and margin-right for each block.

domsson commented 4 years ago

Implemented with v1.0.0 - there are now block-margin (for the bar section) as well as margin-left and margin-right (for the block sections) config options available that behave as you'd expect. Or at least as I would expect. :)