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

@ -0,0 +1 @@
colors now support an optional alpha value at the end (#rrggbbaa)