summarylogtreecommitdiffstats
path: root/way-displays-1_4.install
blob: 46795e26953db6dee6bc4b27fe68635c8f7a8ae4 (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
# 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.4.0 New Feature: Command Line Client${all_off}"
    note ""
    note "Manages the server. The active configuration and display state may be inspected, modified and written to disk."
    note ""
    note "e.g. Show current configuration and display state: ${green}way-displays -g${all_off}"
    note "     Set a scale: ${green}way-displays -s SCALE \"eDP-1\" 3${all_off}"
    note "     Persist your changes to your cfg.yaml: ${green}way-displays -w${all_off}"
    note ""
    note "See ${blue}man way-displays${all_off} and ${blue}way-displays --help${all_off}"
    note ""
    note "${yellow}1.4.1${all_off}"
    note "  Minor safety improvements"
    note ""
}

post_upgrade() {
    post_install
}