Allow text drawing to use the alpha channel. (#5246)

This is the last remaining diff from the i3-gaps tree.

related to https://github.com/i3/i3/issues/3724

Tested using the following config with picom:

bar {
	i3bar_command i3bar -t
	status_command i3status
	colors {
		# fully	transparent text on opaque background:
		statusline #ffffff00
		background #000000ff
	}
}
This commit is contained in:
Michael Stapelberg
2022-11-06 12:43:37 +01:00
committed by GitHub
parent c8fd8eff21
commit 9e3a9e8225
4 changed files with 21 additions and 7 deletions

View File

@ -1144,7 +1144,8 @@ client.background::
which do not cover the whole area of this window expose the color. Note
that this colorclass only takes a single color.
Colors are in HTML hex format (#rrggbb), see the following example:
Colors are in HTML hex format (#rrggbb, optionally #rrggbbaa), see the following
example:
*Examples (default colors)*:
----------------------------------------------------------------------
@ -1996,8 +1997,8 @@ bar {
=== Colors
As with i3, colors are in HTML hex format (#rrggbb). The following colors can
be configured at the moment:
As with i3, colors are in HTML hex format (#rrggbb, optionally #rrggbbaa). The
following colors can be configured at the moment:
background::
Background color of the bar.