summarylogtreecommitdiffstats
path: root/polybar.install
blob: 25ac794f102d28b6244b211ba49cfe85248a710e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
post_install() {
  cat << EOF

  Get started with the example configuration:

    $ install -Dm644 /usr/share/doc/polybar/config \$HOME/.config/polybar/config
    $ polybar example

  For more information, see https://github.com/polybar/polybar/wiki

EOF
}

post_upgrade() {
  [ "$(vercmp "$2" "2.5.1-1")" = "-1" ] || exit 0
  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
}