Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Feature request] Border #42

Open
MarcelRobitaille opened this issue Jun 20, 2017 · 3 comments
Open

[Feature request] Border #42

MarcelRobitaille opened this issue Jun 20, 2017 · 3 comments

Comments

@MarcelRobitaille
Copy link

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.

@poinck
Copy link

poinck commented Jun 24, 2017

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
Copy link

poinck commented Jun 24, 2017

It should look like this:

2017-06-24-133020_100x25_scrot

@MarcelRobitaille
Copy link
Author

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants