statusbar: battery typo fixed

master
TiynGER 2 years ago
parent bfdd4da035
commit e51cdc4334

@ -8,4 +8,4 @@ status=$(cat /sys/class/power_supply/"$1"/status)
[ "$status" = "Charging" ] && color="#ffffff"
printf "%s%s" "$(echo "$status" | sed -e "s/,//;s/Discharging//;s/Not Charging//;s/Charging//;s/Unknown//;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g")" "$warn" "$(echo "$capacity" | sed -e 's/$/%/' ) "
printf "%s%s" "$(echo "$status" | sed -e "s/,//;s/Discharging//;s/Not charging//;s/Charging//;s/Unknown//;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g")" "$warn" "$(echo "$capacity" | sed -e 's/$/%/' ) "

Loading…
Cancel
Save