domsson / succade

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

Separator config option #49

Closed jasper-schnabel closed 3 years ago

jasper-schnabel commented 3 years ago

It would be nice if you could have the option to set an overall separator for the blocks.

For example:

[bar]
separator = "|"

Output:

date | cpu | memory | battery

domsson commented 3 years ago

This can already be achieved by using prefix and suffix on the appropriate blocks, but that's pretty cumbersome. The separator option would make this much more convenient. Therefore, nice idea, I'll put it on my to-do list! :)

domsson commented 3 years ago

I was actually a bit hesitant to add this, for two reasons:

However, implementing just separator was pretty easy and only cost a couple lines of code, so I decided to go ahead and do it anyway. Let me know if it works as expected. :)

jasper-schnabel commented 3 years ago

It works exactly the way I wanted it to work. Thanks