diff options
| author | Florian <florian.fl.fischer@fau.de> | 2015-06-24 09:44:01 +0200 |
|---|---|---|
| committer | Florian <florian.fl.fischer@fau.de> | 2015-06-24 09:44:01 +0200 |
| commit | 4ff1f7459c9d41512f9132f72b7adeff2d4c468d (patch) | |
| tree | c3d109b7d76177b6db85f4030add2ed80e8af822 | |
| parent | 82227839bc80534b8544354ac7cb2fc161c829c1 (diff) | |
| download | dotfiles-4ff1f7459c9d41512f9132f72b7adeff2d4c468d.tar.gz dotfiles-4ff1f7459c9d41512f9132f72b7adeff2d4c468d.zip | |
maybe fix different batteries
| -rw-r--r-- | .i3/conkyrc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.i3/conkyrc b/.i3/conkyrc index 1ec5421..413d772 100644 --- a/.i3/conkyrc +++ b/.i3/conkyrc @@ -86,7 +86,7 @@ TEXT ################# Battery #################### - ${if_empty ${battery BAT1} } ${else} + ${if_empty ${battery BAT0} } {"name": "battery","color": ${if_match ${battery_percent}<50} ${if_match ${battery_percent}<25}"\#ff0000" @@ -94,6 +94,15 @@ TEXT ${endif} ${else}"\#ffffff" ${endif}, "full_text": "${battery BAT0}"}, + + ${else} + {"name": "battery","color": + ${if_match ${battery_percent}<50} + ${if_match ${battery_percent}<25}"\#ff0000" + ${else}"\#ff9200" + ${endif} + ${else}"\#ffffff" + ${endif}, "full_text": "${battery BAT1}"}, ${endif} |
