add color

This commit is contained in:
Sakooooo 2023-08-04 18:08:52 +03:00
parent 149bfbb723
commit e7610cf8ff
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 2 additions and 1 deletions

View file

@ -21,7 +21,7 @@ battery() {
case "$get_status" in case "$get_status" in
Charging) printf "^c$blue^ Charging $get_capacity" ;; Charging) printf "^c$blue^ Charging $get_capacity" ;;
Discharging) if (( $get_capacity <= 20)); then Discharging) if (( $get_capacity <= 20)); then
printf "^c$red^ Low! $get_capacity" printf "^c$lightred^ Low! $get_capacity"
else else
printf "^c$blue^  $get_capacity" printf "^c$blue^  $get_capacity"
fi ;; fi ;;

View file

@ -8,4 +8,5 @@ white=#DBDBDB
grey=#9C8B8C grey=#9C8B8C
blue=#7aa2f7 blue=#7aa2f7
red=#4D1111 red=#4D1111
lightred=#BD2D2D
darkblue=#668ee3 darkblue=#668ee3