notes/battery-status.sh
#!/bin/bash
#sudo apt install fonts-noto-color-emoji

status="$(acpi -V |head -n 1|awk '{print $3}'|cut -d\, -f1)"

if [ "$status" = "Charging" ];then  
  echo -n "⚡"
else  
  echo -n "🔋"
fi
  
acpi -V|head -n 1|awk '{print $4}'|cut -d\, -f1#acpi -V|head -n 1


syntax highlighted by Code2HTML, v. 0.9.1