You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we need to decide once and for all how to handle alpha in Conky: is it separate from colors, or included with them? We conflate ends and means in the current configuration scheme: own_window_transparent overrides own_window_argb_value, but should really be equivalent to own_window_argb_value = 0, except that it actually triggers a different implementation that can work in more X11 configurations. Meanwhile, color parsing does support reading alpha values, except for places where the parsed alpha is overridden by xftalpha or own_window_argb_value.
This is very confusing to deal with by users. As a user I'd expect a single window_background = "color" property that also accepts alpha, and then for conky to deal with all the implementation details.
There are however 3 different config options for this "1 concept":
own_window_argb_value
own_window_colour
own_window_transparent
And additionally own_window_argb_visual that, when I forget about implementation details of X11, doesn't tell me much.
I suggest the first three to be replaced with simply window_background_colo(u)r, and for the own_window_argb_visual to be renamed to enable_x11_true_transparency because that communicates so much more details at a first glance:
I know there's "fake" transparency
I know it's only X11
because Wayland makes it hard to do the other (worse) thing
I know it has (almost) nothing to do with actual "rgb" color value.
The text was updated successfully, but these errors were encountered:
Caellian
changed the title
Cleanup color management
[Refactor]: Cleanup color management
Dec 8, 2024
Caellian
changed the title
[Refactor]: Cleanup color management
[Improvement]: Cleanup color management
Dec 8, 2024
Caellian
added
the
enhancement
suggests alteration of existing functionality to better support different use cases
label
Dec 8, 2024
Caellian
changed the title
[Improvement]: Cleanup color management
[Enhancement]: Cleanup color management
Dec 8, 2024
@bi4k8 mentioned this in #1504 and I agree:
This is very confusing to deal with by users. As a user I'd expect a single
window_background = "color"
property that also accepts alpha, and then for conky to deal with all the implementation details.There are however 3 different config options for this "1 concept":
own_window_argb_value
own_window_colour
own_window_transparent
And additionally
own_window_argb_visual
that, when I forget about implementation details of X11, doesn't tell me much.I suggest the first three to be replaced with simply
window_background_colo(u)r
, and for theown_window_argb_visual
to be renamed toenable_x11_true_transparency
because that communicates so much more details at a first glance:The text was updated successfully, but these errors were encountered: