Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Transparency (opacity) does not work #167

Open
enterit opened this issue Apr 22, 2022 · 4 comments
Open

Transparency (opacity) does not work #167

enterit opened this issue Apr 22, 2022 · 4 comments

Comments

@enterit
Copy link

enterit commented Apr 22, 2022

I've tried the example from README, it does not work - produces non-transparent background.

wmfocus --textcolor red --textcoloralt "#eeeeee" --bgcolor "rgba(50, 50, 200, 0.5)"

My i3 version:

$ i3 --version
i3 version 4.14.1 (2017-09-24) © 2009 Michael Stapelberg and contributors

Could you please clarify how/when opacity from CSS-like color should work?

wmfocus will make use of a compositor to get real transparency

What does 'compositor' mean? Are there environments where it is not supposed to work, or does 'compositor' have any limitations?

@svenstaro
Copy link
Owner

What's your desktop environment like? You need something like Compton or xcompmgr on xorg. In Wayland it should just work as is.

@enterit
Copy link
Author

enterit commented Apr 22, 2022

Oh, you're right, Compton fixed the issue. Thank you!

I use X11, and apparently I did not have any compositor.

@enterit
Copy link
Author

enterit commented Apr 22, 2022

I've also noticed that background opacity also affects text opacity. Is this by design? What do you think about an option to specify background and text opacity independently?

@svenstaro
Copy link
Owner

I think that'd be a cool option indeed, didn't consider that. I think it might be a fairly easy fix. Wanna try?

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

No branches or pull requests

2 participants