aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2015-06-24 19:27:30 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2015-06-24 19:27:30 +0200
commitd0027ff2a2bd080c998a144c7070426caa61cd22 (patch)
treec812eae3ea34e273ea5a76fc3675cea60315e2f2
parentce913a1595ce38e06256a890b6308444cc1421fa (diff)
downloaddotfiles-d0027ff2a2bd080c998a144c7070426caa61cd22.tar.gz
dotfiles-d0027ff2a2bd080c998a144c7070426caa61cd22.zip
add ability to use bat0 and bat1
-rw-r--r--.i3/conkyrc24
1 files changed, 15 insertions, 9 deletions
diff --git a/.i3/conkyrc b/.i3/conkyrc
index 1ec5421..f37098a 100644
--- a/.i3/conkyrc
+++ b/.i3/conkyrc
@@ -86,15 +86,21 @@ TEXT
################# Battery ####################
- ${if_empty ${battery BAT1} } ${else}
- {"name": "battery","color":
- ${if_match ${battery_percent}<50}
- ${if_match ${battery_percent}<25}"\#ff0000"
- ${else}"\#ff9200"
- ${endif}
- ${else}"\#ffffff"
- ${endif}, "full_text": "${battery BAT0}"},
- ${endif}
+ {"name": "battery","color":
+ ${if_match ${battery_percent}<50}
+ ${if_match ${battery_percent}<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"
+ ${else}"\#ff9200"
+ ${endif}
+ ${else}"\#ffffff"
+ ${endif}, "full_text": "${battery BAT1}"},
############### Time ##################