-
Notifications
You must be signed in to change notification settings - Fork 359
Open
Labels
Description
Motivation
A friend looking into using dunst
got confused about transparency
option
being 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 transparency
is 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
to
the value of transparency
.
((100 - transparency) * 0x100 / 100)
to be specific)
Alternatives
Make the documentation clearer.
For example with
- transparency (default: 0) (X11 only)
+ transparency (default: 0) (X11 only, for wayland see COLORS)
When people see that the option is for X11 only
, it is likely they don't even
bother reading the content.