waybar-void-update-checker: add "warning" CSS class
This commit is contained in:
parent
af023a6fc2
commit
f7d6043baa
1 changed files with 1 additions and 1 deletions
|
@ -9,4 +9,4 @@ PKG_COUNT="$(echo -n "$info" | wc -l)"
|
||||||
|
|
||||||
DL_SIZE="$(echo "$info" | awk '{s+=$6}END{print s}' | numfmt --to=iec-i)B"
|
DL_SIZE="$(echo "$info" | awk '{s+=$6}END{print s}' | numfmt --to=iec-i)B"
|
||||||
|
|
||||||
echo '{"text": "\uf468 '"$PKG_COUNT"'", "tooltip": "'"$PKG_COUNT"' packages have updates; '"$DL_SIZE"' download"}'
|
echo '{"text": "\uf468 '"$PKG_COUNT"'", "tooltip": "'"$PKG_COUNT"' packages have updates; '"$DL_SIZE"' download", "class": "warning"}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue