1
0
Fork 0
This commit is contained in:
Arthur K. 2025-11-11 00:41:42 +03:00
parent 7e5d880156
commit d93f63cf82
40 changed files with 448 additions and 649 deletions

View file

@ -42,7 +42,7 @@ for battery_path in /sys/class/power_supply/!(AC*); do
status_symbol="${custom_icons["$device_name"]}"
elif [ "$capacity" -eq 100 ]; then
status_symbol=" "
elif [[ "$status" = "Discharging" && "$capacity" -le 20 ]]; then
elif [ "$status" = "Discharging" ] && [ "$capacity" -le 20 ]; then
status_symbol="❗"
[ -n "$sep" ] && sep="" || sep=" ";
fi