Conky: Correct(?) battery detection

This commit is contained in:
Salt 2018-08-29 22:25:06 -05:00
parent 5380b78e6d
commit 96fecbae59

View File

@ -57,7 +57,7 @@ ${color3}$hr$color
${font Inconsolata:style=Medium:size=10}Memory$font: $mem / $memmax used$alignr$memperc%
${color9}${memgraph}$color
Memory$alignr$memeasyfree free ${color9}${membar}$color
Swap$alignr$swapfree ${color9}${swapbar}$color${if_existing /sys/class/power_supply}
Swap$alignr$swapfree ${color9}${swapbar}$color${if_existing /sys/class/power_supply/BAT*}
${color3}$hr$color
${font Inconsolata:style=Medium:size=10}Battery$font:$alignr$battery_time${if_existing /sys/class/power_supply/BAT0}
${color4}${execigraph 60 "cat /sys/class/power_supply/BAT0/capacity"}$color