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