aboutsummarylogtreecommitdiffstats
path: root/nwd-i3-git.install
blob: 99173c92deef94d71754ac0fefd6325ce5a925d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
    echo "==> To complete installation, add the following lines to your bashrc"
    echo '    [[ -S /run/user/$USER/i3/ipc-socket.$(pidof i3) && -f /usr/share/nwd/preexec.sh ]] \'
    echo '        && . /usr/share/nwd/preexec.sh'
    echo '==> and restart bash'
}

post_upgrade() {
    echo "==> To complete update, make sure you have the following lines in your bashrc"
    echo '    [[ -S /run/user/$USER/i3/ipc-socket.$(pidof i3) && -f /usr/share/nwd/preexec.sh ]] \'
    echo '        && . /usr/share/nwd/preexec.sh'
    echo '==> Upgrade will be effective only after you restart bash'
}

post_remove() {
    echo "==> To complete removal, remove the `source` of preexec.sh from your bashrc"
}