aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian <florian.fl.fischer@fau.de>2015-08-09 20:31:38 +0200
committerFlorian <florian.fl.fischer@fau.de>2015-08-09 20:31:38 +0200
commit92d50f7f6fcac32125bcb64912c797c639b29892 (patch)
treec42ac146d95320f7e8da993b1d72957edf4a14a2
parentcc3909e3e482d5c9d815a1c92f56f3e55c810313 (diff)
downloaddotfiles-92d50f7f6fcac32125bcb64912c797c639b29892.tar.gz
dotfiles-92d50f7f6fcac32125bcb64912c797c639b29892.zip
fix color of battery string
-rw-r--r--i3/conkyrc.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/i3/conkyrc.json b/i3/conkyrc.json
index 699d6ad..5578795 100644
--- a/i3/conkyrc.json
+++ b/i3/conkyrc.json
@@ -94,16 +94,16 @@ TEXT
################# Battery ####################
{"name": "battery","color":
- ${if_match ${battery_percent}<50}
- ${if_match ${battery_percent}<25}"\#ff0000"
+ ${if_match ${battery_percent BAT0}<50}
+ ${if_match ${battery_percent BAT0}<25}"\#ff0000"
${else}"\#ff9200"
${endif}
${else}"\#ffffff"
${endif}, "full_text": "${battery BAT0}"},
{"name": "battery","color":
- ${if_match ${battery_percent}<50}
- ${if_match ${battery_percent}<25}"\#ff0000"
+ ${if_match ${battery_percent BAT1}<50}
+ ${if_match ${battery_percent BAT1}<25}"\#ff0000"
${else}"\#ff9200"
${endif}
${else}"\#ffffff"