summarylogtreecommitdiffstats
path: root/way-displays.install
blob: 00b4e441871afb54c8de32b5c5f2ab6218258ecc (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
red="${bold}$(tput setaf 1)"
green="${bold}$(tput setaf 2)" # PR
yellow="${bold}$(tput setaf 3)" # title
blue="${bold}$(tput setaf 4)" # section
magenta="${bold}$(tput setaf 5)" # issue

# Colored makepkg-like functions
note() {
    printf "${blue}==>${yellow} NOTE:${all_off} ${1}\n"
}

plain() {
    printf "${1}\n"
}

green() {
    printf "${green}${1}${all_off}\n"
}

yello() {
    printf "${yellow}${1}${all_off}\n"
}

blue() {
    printf "${blue}${1}${all_off}\n"
}

magen() {
    printf "${magenta}${1}${all_off}\n"
}

post_install() {
    yello "1.11.0"
    blue  "New Features:"
    plain "  ${magenta}#146${all_off} capture and log xdg logical box by @alex-courtis in ${green}#157${all_off}"
    plain "  ${magenta}#65${all_off} add CHANGE_SUCCESS_CMD to run a shell command in handle_success by @PaideiaDilemma in ${green}#162${all_off}"
    blue  "Bug Fixes:"
    plain "  ${magenta}#138${all_off} always round scales to nearest 1/8 to support fractional scaling and other recent compositor changes; use --log-threshold debug to see details by @fberg in ${green}#145${all_off}"
}

post_upgrade() {
    post_install
}