Project

General

Profile

Packaging Request #1962 » polybar.install

theova, 2019-05-27 02:31 PM

 
1
post_install() {
2
  cat << EOF
3

    
4
  Get started with the example configuration:
5

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

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

    
11
EOF
12
}
13

    
14
post_upgrade() {
15
  [ "$(vercmp "$2" "2.5.1-1")" = "-1" ] || exit 0
16
  cat << EOF
17

    
18
  The % suffix has been removed from percentage tokens.
19
  The suffix is instead added by the user, for example:
20

    
21
  format-charging = Capacity %percentage%%
22

    
23
                                              -- jaagr
24

    
25
EOF
26
}
(1-1/4)