change icons

This commit is contained in:
Sakooooo 2023-08-04 22:18:33 +03:00
parent 73120e7b3a
commit 3107aba71d
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -19,11 +19,11 @@ battery() {
get_capacity="$(cat /sys/class/power_supply/BAT1/capacity)" get_capacity="$(cat /sys/class/power_supply/BAT1/capacity)"
get_status="$(cat /sys/class/power_supply/BAT1/status)" get_status="$(cat /sys/class/power_supply/BAT1/status)"
case "$get_status" in case "$get_status" in
Charging) printf "^c$blue^ Charging $get_capacity" ;; Charging) printf "^c$blue^ 󰂄 $get_capacity" ;;
Discharging) if (( $get_capacity <= 20)); then Discharging) if (( $get_capacity <= 20)); then
printf "^c$lightred^ Low! $get_capacity" printf "^c$lightred^ 󰂃 $get_capacity"
else else
printf "^c$blue^ $get_capacity" printf "^c$blue^ 󰁹 $get_capacity"
fi ;; fi ;;
esac esac
#printf "^c$blue^  $get_capacity" #printf "^c$blue^  $get_capacity"