polybar/contrib/polybar.aur/polybar.install

27 lines
558 B
Plaintext
Raw Normal View History

2017-01-02 01:32:16 +00:00
post_install() {
cat << EOF
Get started with the example configuration:
$ install -Dm644 /usr/share/doc/polybar/config \$HOME/.config/polybar/config
2017-01-02 01:32:16 +00:00
$ polybar example
For more information, see https://github.com/polybar/polybar/wiki
2017-01-02 01:32:16 +00:00
EOF
}
post_upgrade() {
2017-01-14 19:44:41 +00: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
}