diff --git a/contrib/polybar.aur/polybar.install b/contrib/polybar.aur/polybar.install index 03368ec9..c46ee3c7 100644 --- a/contrib/polybar.aur/polybar.install +++ b/contrib/polybar.aur/polybar.install @@ -10,3 +10,16 @@ post_install() { EOF } + +post_upgrade() { + (( ${2//./} <= 251 )) && cat << EOF + + The % suffix has been removed from percentage tokens. + The suffix is instead added by the user, for example: + + format-charging = Capacity %percentage%% + + -- jaagr + +EOF +}