summarylogtreecommitdiffstats
path: root/polybar.install
diff options
context:
space:
mode:
authorMichael Carlberg2017-01-14 18:20:13 +0100
committerMichael Carlberg2017-01-14 18:20:36 +0100
commit7ad88fd74835d4cb617a46c1cf832f7fed4dce00 (patch)
treea4e0510debdc9e9b35415941cb6ddde5864d2051 /polybar.install
parent51c19c99881020f8d354a1dd3c21a4006cfb3677 (diff)
downloadaur-7ad88fd74835d4cb617a46c1cf832f7fed4dce00.tar.gz
version bump
Diffstat (limited to 'polybar.install')
-rw-r--r--polybar.install15
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
+}