avs_mtk_voice/meta/meta-openembedded/meta-efl/recipes-efl/e17/exquisite/splashfuncs

30 lines
407 B
Plaintext
Raw Normal View History

2022-05-13 08:02:31 +00:00
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"
}