Commit 0a7c21d6 authored by Tudor's avatar Tudor

Fixed indentation

parent 28d33f75
...@@ -1406,13 +1406,13 @@ getbattery () { ...@@ -1406,13 +1406,13 @@ getbattery () {
;; ;;
"OpenBSD") "OpenBSD")
battery0full=$(sysctl -n hw.sensors.acpibat0.watthour0) battery0full=$(sysctl -n hw.sensors.acpibat0.watthour0)
battery0full=${battery0full/ Wh*} battery0full=${battery0full/ Wh*}
battery0now=$(sysctl -n hw.sensors.acpibat0.watthour3) battery0now=$(sysctl -n hw.sensors.acpibat0.watthour3)
battery0now="${battery0now/ Wh*}" battery0now="${battery0now/ Wh*}"
battery="$(echo "100 * $battery0now / $battery0full" | bc)%" battery="$(echo "100 * $battery0now / $battery0full" | bc)%"
;; ;;
"Mac OS X") "Mac OS X")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment