blob: ada2a96dd419b2d2f6395ae3624e323b742cb770 (
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
|
status() {
if type splash-write >/dev/null 2>&1; then
(TMPDIR="/mnt/.splash" EXQUISITE_IPC="$TMPDIR/exquisite" splash-write "$1" || true) &
fi
}
status_position() {
status "PROGRESS $1"
}
status_title() {
status "TITLE $1"
}
status_text() {
if test -n "$1"; then
status "MSG $1"
else
status "CLEAR"
fi
}
status_pulse() {
status "PULSATE"
}
status_tick() {
status "TICK"
}
|