From 24e80c4eed45eab21ce7f8d40e3160d6b3ce042a Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Fri, 15 Mar 2024 14:08:28 -0400 Subject: [PATCH] Make tray background a configurable color --- README.org | 5 ++++- polybar/config.ini | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 5189bb0..4936cae 100644 --- a/README.org +++ b/README.org @@ -5885,6 +5885,9 @@ media-playing-background = ${self.green} media-playing-underline = ${self.background} media-playing-overline = ${self.background} +; center +tray-background = ${self.background} + ; right kernel-foreground = ${self.background} kernel-background = ${self.orange} @@ -6150,7 +6153,7 @@ tray-maxsize = ${sizes.tray-maxsize} ; ARGB color (e.g. #f00, #ff992a, #ddff1023) ; By default the tray container will use the bar ; background color. -tray-background = ${colors.background} +tray-background = ${colors.tray-background} ; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) tray-offset-x = 0 diff --git a/polybar/config.ini b/polybar/config.ini index 801c6d3..9c47600 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -70,6 +70,9 @@ media-playing-background = ${self.green} media-playing-underline = ${self.background} media-playing-overline = ${self.background} +; center +tray-background = ${self.background} + ; right kernel-foreground = ${self.background} kernel-background = ${self.orange} @@ -312,7 +315,7 @@ tray-maxsize = ${sizes.tray-maxsize} ; ARGB color (e.g. #f00, #ff992a, #ddff1023) ; By default the tray container will use the bar ; background color. -tray-background = ${colors.background} +tray-background = ${colors.tray-background} ; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) tray-offset-x = 0