aonemd / onpar

A dwm bar that is on par with other advanced bars such as i3blocks and polybar
MIT License
22 stars 0 forks source link

Module dividers #2

Open davidoskky opened 5 years ago

davidoskky commented 5 years ago

It would be nice to be nice to have some kind of divider between the various modules output. Something like Battery | Volume | Time This way it is immediately clear what data is part of which module. I guess it's possible to insert it in each module, but it would be nice to have a global setting.

tororutsu commented 5 years ago

You should just be able to insert that inside the xsetroot function, that's what actually sets the bar

davidoskky commented 5 years ago

Sorry, figured it out; I don't really know go... However since it's joining all strings it will put a delimiters around modules without any output. It is not a big deal for me, as I have none, but one could have a module that has output only in certain conditions, it would then be quite annoying.