summarylogtreecommitdiffstats
path: root/way-displays-1_2.install
blob: 55ee458c432149d99be0c718c2da641be0ed9849 (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
# Colored makepkg-like functions
note() {
    printf "${blue}==>${yellow} NOTE:${all_off} ${1}\n"
}

all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
red="${bold}$(tput setaf 1)"
green="${bold}$(tput setaf 2)"
yellow="${bold}$(tput setaf 3)"
blue="${bold}$(tput setaf 4)"

post_install() {
    note ""
    note "${yellow}1.2.0 New Feature #10 Maximum Preferred Refresh${all_off}"
    note ""
    note "Optional cfg.yaml additions:"
    note ""
    note "# Use the maximum refresh rate for resolution of the preferred mode."
    note "# Warning: this may result in an unusable display."
    note "${red}MAX_PREFERRED_REFRESH${all_off}:"
    note "${yellow}  - ${green}'HDMI-1'${all_off}"
    note ""
    note "For full details see https://github.com/alex-courtis/way-displays and /etc/way-displays/cfg.yaml"
    note ""
    note "${yellow}1.2.1${all_off}"
    note "- Bug #12 handle rotated displays"
    note "- Bug #11 allow retries after config update during a change"
    note ""
}

post_upgrade() {
    post_install
}