joewing / jwm

Joe's Window Manager
http://joewing.net/projects/jwm
MIT License
523 stars 84 forks source link

Transparency without fonts #374

Open takiz opened 7 years ago

takiz commented 7 years ago

How to set an opacity level only for inactive background in the taskbar/tray? Or how can I see the text when opacity=0.0 ?

technosaurus commented 7 years ago

This was already mentioned in:

https://github.com/joewing/jwm/issues/202 https://github.com/joewing/jwm/issues/40 https://github.com/joewing/jwm/issues/330

I am trying to figure out how to do pseudo-transparency by using the CopyFromParent background method. I posted a couple of links in the other threads, but haven't gotten around to it. I was also thinking that we could use a specific value to indicate pseudo-transparency (color=None or opacity=-0.0 maybe?) to delineate it from opacities handled by the compositor. Of course this would need to be done for tray buttons as well (I think the font rendering already does this, so maybe a good place to start).