polybar-dwm/contrib/polybar.aur/polybar.install

26 lines
537 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/jaagr/polybar/wiki
EOF
}
post_upgrade() {
(( ${2//[^0-9]/} <= 2511 )) && 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
}