more consistant battery reporting

This commit is contained in:
n 2017-05-19 22:18:34 +02:00
parent b298a98551
commit 0bd75add3e

View file

@ -138,7 +138,7 @@ ${color2}Fan ${alignr}$color${ibm_fan}
${color2}Disk IO${color2} ${alignr}$diskio
${color1}${diskiograph 40,99 ff0000 00ff00 -l}
#
# Network data (my desktop have only LAN). ETHERNET ring is mostly useless but looks pretty, main info is in the graphs
# Network data
${color2}Net ${alignr}${color 00ff00}${downspeed enp0s25} ${alignr}${color ff0000}${upspeed enp0s25}
${downspeedgraph enp0s25 40,50 00ff00 00ff00 100 -l -t} ${alignr}${upspeedgraph enp0s25 40,50 ff0000 ff0000 100 -l -t}
@ -159,5 +159,5 @@ ${color2}/nfs ${color2}${alignr}${fs_free /nfs/tmp}
${color1}${fs_bar 5,100 /nfs/tmp}
#
${color2}Batterie ${color2}${alignr}${battery_percent}%
${color2}Batt ${alignr}${battery_short}
${color1}${battery_bar 5,100}