1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00
polybar/contrib/polybar.aur/polybar.install

27 lines
558 B
Text
Raw Normal View History

2017-01-01 20:32:16 -05:00
post_install() {
cat << EOF
Get started with the example configuration:
$ install -Dm644 /usr/share/doc/polybar/config \$HOME/.config/polybar/config
2017-01-01 20:32:16 -05:00
$ polybar example
For more information, see https://github.com/polybar/polybar/wiki
2017-01-01 20:32:16 -05:00
EOF
}
post_upgrade() {
2017-01-14 14:44:41 -05:00
[ "$(vercmp "$2" "2.5.1-1")" = "-1" ] || exit 0
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
}