clean akku output

This commit is contained in:
rob committed 2020-03-16 07:47:22 +01:00
1 parent be23b69368
commit 4c783de30d
1 file changed
+3 -1
+3 -1
View File
@@ -3,4 +3,6 @@
batt=`acpi -b`
batt=($batt)
#echo "#[fg=red]♥♥♥#[fg=white]♥♥♥#[fg=black] ${batt[3]}"
echo "${batt[3]}"
batt="${batt[3]}"
##Nur Substring bis zum ersten Komma.
echo ${batt%,}