It should work now

This commit is contained in:
Tudor 2016-02-23 11:29:03 +02:00
parent cfa2df540c
commit 28d33f7526

2
fetch
View file

@ -1412,7 +1412,7 @@ getbattery () {
battery0now=$(sysctl -n hw.sensors.acpibat0.watthour3)
battery0now="${battery0now/ Wh*}"
battery="$(( 100 * $battery0now / $battery0full ))%"
battery="$(echo "100 * $battery0now / $battery0full" | bc)%"
;;
"Mac OS X")