enkore / i3pystatus

A complete replacement for i3status
https://i3pystatus.readthedocs.io/
MIT License
445 stars 188 forks source link

Feature Request: Transparency (RGBA) #632

Closed kinghrothgar closed 5 years ago

kinghrothgar commented 6 years ago

I have started using i3-gaps which has an i3bar version that supports transparency but lacks all the awesome features i3pystatus has. I was wondering if it would be feasible to support RGBA colors?

enkore commented 6 years ago

Combine https://i3pystatus.readthedocs.io/en/latest/configuration.html#hints with https://github.com/Airblader/i3#background--color

So something like

status.register(...,
color="#123456AB",
hints={
  "background": "#FFFFFFAB",
})

should work already.

Feel free to make a PR for the docs about this ("Governance: Patches that don't break the build (Travis or docs) are generally just merged. This is a "do-it-yourself" project, so to speak.").