Fix indentation

This commit is contained in:
Dylan 2016-02-23 19:21:30 +11:00
parent 4f51ecca75
commit 6cd462ce55
1 changed files with 6 additions and 7 deletions

11
fetch
View File

@ -1400,18 +1400,17 @@ getbattery () {
;; ;;
"BSD") "BSD")
case "$distro" in case "$distro" in
"FreeBSD"*) "FreeBSD"*)
battery=$(acpiconf -i 0 | awk -F ':\t' '/Remaining capacity/ {print $2}') battery=$(acpiconf -i 0 | awk -F ':\t' '/Remaining capacity/ {print $2}')
;; ;;
esac esac
;; ;;
"Mac OS X") "Mac OS X")
battery="$(pmset -g batt | grep -o '[0-9]*%')" battery="$(pmset -g batt | grep -o '[0-9]*%')"
;; ;;
"Windows") "Windows")
battery="$(wmic Path Win32_Battery get EstimatedChargeRemaining /value)" battery="$(wmic Path Win32_Battery get EstimatedChargeRemaining /value)"
battery=${battery/EstimatedChargeRemaining'='} battery=${battery/EstimatedChargeRemaining'='}