waybar-void-update-checker: add "warning" CSS class

This commit is contained in:
Adam Gausmann 2025-06-04 15:02:10 -05:00
parent af023a6fc2
commit f7d6043baa

View file

@ -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"
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"}'