remove space
This commit is contained in:
parent
72fc8b93e7
commit
ac916f9b8d
|
@ -47,17 +47,17 @@ if (( $#batteries > 0 )) ; then
|
||||||
fi
|
fi
|
||||||
case $(< $bat/status) in
|
case $(< $bat/status) in
|
||||||
Charging)
|
Charging)
|
||||||
GRML_BATTERY_LEVEL+="%F{blue} ^%f"
|
GRML_BATTERY_LEVEL+="%F{blue}^%f"
|
||||||
;;
|
;;
|
||||||
Discharging)
|
Discharging)
|
||||||
if (( capacity < 20 )) ; then
|
if (( capacity < 20 )) ; then
|
||||||
GRML_BATTERY_LEVEL+="%F{red} !v%f"
|
GRML_BATTERY_LEVEL+="%F{red}!v%f"
|
||||||
else
|
else
|
||||||
GRML_BATTERY_LEVEL+="%F{yellow} v%f"
|
GRML_BATTERY_LEVEL+="%F{yellow}v%f"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*) # Full, Unknown
|
*) # Full, Unknown
|
||||||
GRML_BATTERY_LEVEL+="%F{green} =%f"
|
GRML_BATTERY_LEVEL+="%F{green}=%f"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
GRML_BATTERY_LEVEL+="${capacity}%%"
|
GRML_BATTERY_LEVEL+="${capacity}%%"
|
||||||
|
|
Reference in a new issue