summarylogtreecommitdiffstats
path: root/polybar.install
blob: 3fa42106672db26664221f862e5e74518f417848 (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/jaagr/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
}