diff options
author | Michael Carlberg | 2017-01-14 18:20:13 +0100 |
---|---|---|
committer | Michael Carlberg | 2017-01-14 18:20:36 +0100 |
commit | 7ad88fd74835d4cb617a46c1cf832f7fed4dce00 (patch) | |
tree | a4e0510debdc9e9b35415941cb6ddde5864d2051 /polybar.install | |
parent | 51c19c99881020f8d354a1dd3c21a4006cfb3677 (diff) | |
download | aur-7ad88fd74835d4cb617a46c1cf832f7fed4dce00.tar.gz |
version bump
Diffstat (limited to 'polybar.install')
-rw-r--r-- | polybar.install | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/polybar.install b/polybar.install index 6b954fb02106..c46ee3c7dab0 100644 --- a/polybar.install +++ b/polybar.install @@ -3,10 +3,23 @@ post_install() { Get started with the example configuration: - $ install -Dm644 /usr/share/doc/polybar/config \$HOME/.config/polybar + $ install -Dm644 /usr/share/doc/polybar/config \$HOME/.config/polybar/config $ polybar example For more information, see https://github.com/jaagr/polybar/wiki EOF } + +post_upgrade() { + (( ${2//./} <= 251 )) && 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 +} |