From 55da3ffc594efe6f68f70db2a860a6bc6ddb61e5 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Tue, 1 Aug 2017 21:05:01 -0500
Subject: [PATCH] Made battery bar green again Red is bad, green is good

---
 .config/polybar/config | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.config/polybar/config b/.config/polybar/config
index a4e9be4a..231aa0d0 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -106,7 +106,8 @@ bar-width = 30
 bar-fill = /
 bar-fill-foreground = ${res/colors.accent-blue}
 bar-fill-foreground-progress = ${res/colors.accent-green}
-bar-fill-foreground-resource = ${res/colors.accent-red}
+bar-fill-foreground-resource-low = ${res/colors.accent-red}
+bar-fill-foreground-resource-high = ${res/colors.accent-green}
 bar-fill-foreground-setting = ${res/colors.accent-blue}
 bar-fill-background = ${res/colors.background}
 bar-indicator = /
@@ -171,7 +172,7 @@ label-full-background = ${template/module/bar.label-background}
 
 bar-capacity-width = ${template/module/bar.bar-width}
 bar-capacity-fill = ${template/module/bar.bar-fill}
-bar-capacity-fill-foreground = ${template/module/bar.bar-fill-foreground-resource}
+bar-capacity-fill-foreground = ${template/module/bar.bar-fill-foreground-resource-high}
 bar-capacity-fill-background = ${template/module/bar.bar-fill-background}
 bar-capacity-indicator = ${template/module/bar.bar-indicator}
 bar-capacity-indicator-foreground = ${template/module/bar.bar-indicator-foreground}
@@ -192,7 +193,7 @@ label-background = ${template/module/bar.label-background}
 
 bar-load-width = ${template/module/bar.bar-width}
 bar-load-fill = ${template/module/bar.bar-fill}
-bar-load-fill-foreground = ${template/module/bar.bar-fill-foreground-resource}
+bar-load-fill-foreground = ${template/module/bar.bar-fill-foreground-resource-low}
 bar-load-fill-background = ${template/module/bar.bar-fill-background}
 bar-load-indicator = ${template/module/bar.bar-indicator}
 bar-load-indicator-foreground = ${template/module/bar.bar-indicator-foreground}
@@ -227,7 +228,7 @@ label-background = ${template/module/bar.label-background}
 
 bar-used-width = ${template/module/bar.bar-width}
 bar-used-fill = ${template/module/bar.bar-fill}
-bar-used-fill-foreground = ${template/module/bar.bar-fill-foreground-resource}
+bar-used-fill-foreground = ${template/module/bar.bar-fill-foreground-resource-low}
 bar-used-fill-background = ${template/module/bar.bar-fill-background}
 bar-used-indicator = ${template/module/bar.bar-indicator}
 bar-used-indicator-foreground = ${template/module/bar.bar-indicator-foreground}