summarylogtreecommitdiffstats
path: root/way-displays.install
blob: 37333191e189fac61a72feec054b7a93436b04ac (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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)"
magenta="${bold}$(tput setaf 5)"

# 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.5.0"
    blue  "New Feature: User MODE Selection"
    plain "  e.g. set HDMI-A-1 3840x2160@144Hz"
    plain ""
    plain "  cfg.yaml"
    magen "    MODE:"
    magen "      - NAME_DESC: HDMI-A-1"
    magen "        WIDTH: 3840"
    magen "        HEIGHT: 2160"
    magen "        HZ: 144"
    plain ""
    plain "  CLI"
    green "    way-displays -s MODE HDMI-A-1 3840 2160 144"
    plain ""
    blue  "Laptop Lid"
    plain "  Workaround: Laptop Lid Not Closed At Startup: https://github.com/alex-courtis/way-displays#known-issues-with-workarounds"
    plain ""
    plain "  Lid now detected at startup, before connecting to display. This results in slightly slower startup."
    plain ""
    yello "1.5.1"
    plain "${blue}#33${all_off} prevent infinite loop following some mode change failures"
    plain ""
    yello "1.5.2"
    plain "${blue}#37${all_off} clang compilation failure"
    plain ""
    yello "1.5.3"
    plain "Fix segfault when no lid present; thank you Joost Molenaar"
    plain ""
    yello "1.6.0"
    plain "${blue}#49${all_off} IPC API"
    plain ""
    yello "1.6.1"
    plain "${blue}#53${all_off} wlroots 0.16.0 compatibility"
    plain ""
}

post_upgrade() {
    post_install
}