-
Notifications
You must be signed in to change notification settings - Fork 351
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
Use transparency
when color transparency is not set
#1439
Comments
I am the friend: seeing that option be x11 only made me assume that dunst cannot do transparency overall. with some other issues I had with dunst, it made me go look for other tools instead. fixing at least the doc comment on this would maybe make me (i.e. someone else in the future) stay longer |
thanks for the heads up. I will improve the documentation. |
Yeah, that is fair. Maybe have something like |
the problem is that the behavior on wayland and xorg would then be different if we keep using the |
Motivation
A friend looking into using
dunst
got confused abouttransparency
optionbeing marked as X11 only, which led us to discussing the issue and me having the
idea of why not use
transparency
as fallback on wayland if the transparencyis not set for a color.
That would also make writing cross-(wayland/X11) configs and
upgrading to wayland much nicer.
Proposed Idea
On wayland default colors that don't set the
A
part of#RGBA
tothe value of
transparency
.(
(100 - transparency) * 0x100 / 100)
to be specific)Alternatives
Make the documentation clearer.
For example with
When people see that the option is for
X11 only
, it is likely they don't evenbother reading the content.
Related issues
The text was updated successfully, but these errors were encountered: