dzen icon indicating copy to clipboard operation
dzen copied to clipboard

[Feature request] Border

Open MarcelRobitaille opened this issue 7 years ago • 3 comments

Is it possible to add a border around the window? I am using this for notifications and right now I am making one slightly larger one to go underneath. It would be great to have a feature where you can specify a border width and a colour.

MarcelRobitaille avatar Jun 20 '17 16:06 MarcelRobitaille

You could try something like this:

echo "^fg(#b01de1)^r(100x25)^ib(1)^pa(2;2)^fg(#010101)^r(96x21)^ib(1)^pa(4;4)^fg(#ffffff)notified" | dzen2 -p 5 -x 100 -y 25 -w 100 -h 25 -ta l

You can probably omit the first rectangle if you set the backgroundcolor of dzen2 to the border color you want. So, there should be no need to start two instances of dzen2.

Edit: corrected my example.

poinck avatar Jun 24 '17 11:06 poinck

It should look like this:

2017-06-24-133020_100x25_scrot

poinck avatar Jun 24 '17 11:06 poinck

While that does work, I ended up going with a fork of lemonbar that supports borders. Dzen would be nicer if it were ever as easy because of events though.

MarcelRobitaille avatar Jun 24 '17 14:06 MarcelRobitaille