aboutsummaryrefslogtreecommitdiffstats
path: root/ellipsis.sh
blob: b4daedea87643c6b4c4fff386ff90121e48c4b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

ensure_used_programs() {
    if ! util.cmd_exists "i3lock"; then
        echo "Can't find i3lock, screenlocking won't work." >&2
    fi
}

pkg.install() {
    ensure_used_programs
}

pkg.pull() {
    ensure_used_programs
}

pkg.reinstall() {
    ensure_used_programs
}