From 15573b36700262572a981c088a84f47717ad55a7 Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Sun, 12 Nov 2017 09:51:09 +0100 Subject: [PATCH] Add Setting Module Backgrounds when using Gradients --- Known-Issues.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Known-Issues.md b/Known-Issues.md index acdda0a..eab263d 100644 --- a/Known-Issues.md +++ b/Known-Issues.md @@ -1 +1,11 @@ -This page lists some of the issues one can encounter when using polybar. Either quirks in polybar's behaviour or actual bugs we haven't been able to fix. \ No newline at end of file +This page lists some of the issues one can encounter when using polybar. Either quirks in polybar's behaviour or actual bugs we haven't been able to fix yet. + +# Contents +- [Setting Module Backgrounds when using Gradients](#setting-module-backgrounds-when-using-gradients) + +## Setting Module Backgrounds when using Gradients +**Problem:** When you use a gradient as your polybar background, explicitly setting any module's background color to whatever you have set as `background-0`, either through the `-background` setting or the `%{B}` formatting tag, will not change the background color at all. + +**Workaround:** If you want to explicitly set a module's (or parts of its) background to `background-0`, use a color that is almost the same. E.g. if `background-0` is `#FFFF00` use `#FFFF01`. + +This behaviour was introduced in [`#831`](https://github.com/jaagr/polybar/pull/831), to resolve the issue described in [`#759`](https://github.com/jaagr/polybar/issues/759). There is no way to resolve this without some major code changes to the renderer. \ No newline at end of file