2017-01-02 01:32:16 +00:00
|
|
|
post_install() {
|
|
|
|
cat << EOF
|
|
|
|
|
|
|
|
Get started with the example configuration:
|
|
|
|
|
2017-01-14 12:15:59 +00:00
|
|
|
$ 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/jaagr/polybar/wiki
|
|
|
|
|
|
|
|
EOF
|
|
|
|
}
|
2017-01-14 17:00:22 +00:00
|
|
|
|
|
|
|
post_upgrade() {
|
2017-01-14 19:44:41 +00:00
|
|
|
[ "$(vercmp "$2" "2.5.1-1")" = "-1" ] || exit 0
|
|
|
|
cat << EOF
|
2017-01-14 17:00:22 +00:00
|
|
|
|
|
|
|
The % suffix has been removed from percentage tokens.
|
|
|
|
The suffix is instead added by the user, for example:
|
|
|
|
|
|
|
|
format-charging = Capacity %percentage%%
|
|
|
|
|
|
|
|
-- jaagr
|
|
|
|
|
|
|
|
EOF
|
|
|
|
}
|