diff options
| -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} |
