This commit is contained in:
parent
7e5d880156
commit
d93f63cf82
40 changed files with 448 additions and 649 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue