LemonBoy / bar

A featherweight, lemon-scented, bar based on xcb
MIT License
1.61k stars 194 forks source link

underline / overline for entire bar with alignment. #211

Open as3mbus opened 6 years ago

as3mbus commented 6 years ago

Hello, i just wonder if it's possible to add consistent underline or overline across entire bar (for aesthetic). because i do want to fill my center section with it which is mostly blank and filled with active window title. it feels weird the underline and overline shrink and grows every time i hover through windows.

it would be nice if my top bar underline could expand and fill the remaining space rather than leaving it blank 2018-01-31-12 51 31-screenshot

P.S. Thank you for this awesome bar.

domsson commented 4 years ago

You could achieve this by tweaking the script that gives you the window title string in a way that it always puts out a string of a defined minimum width, padding the actual string with spaces on the left and right accordingly.

At least, you would prevent the shrinking and growing of the underline; not sure you can achieve a consistent line across the entire bar.

Evolution0 commented 3 years ago

Wish my old friend had uploaded his fork years ago, had full underline + highlight underline as well as an option to wrap the underline all the way around the bar for a border effect:

https://files.catbox.moe/1fpz9j.png

All I got left of it is the config.def.h in my dotfiles 😞

Might dig into my old HDD backups and see if I have it, I should.