|
|
|
@ -2,9 +2,9 @@
|
|
|
|
|
|
|
|
|
|
# Gets the current seafile status to display icon
|
|
|
|
|
|
|
|
|
|
SYNC_COMPLETE=$(printf '%s %s' '%{F#0F0}' $(echo -e '\Uf0216')) # green
|
|
|
|
|
SYNC_IN_PROGRESS=$(printf '%s %s' '%{F#FF0}' $(echo -e '\Uf1216')) # yellow
|
|
|
|
|
SYNC_FAILED=$(printf '%s %s' '%{F#F00}' $(echo -e '\Uf0b98')) # red
|
|
|
|
|
SYNC_COMPLETE=$(printf '%s%s' '%{F#0F0}' $(echo -e '\Uf0216')) # green
|
|
|
|
|
SYNC_IN_PROGRESS=$(printf '%s%s' '%{F#FF0}' $(echo -e '\Uf1216')) # yellow
|
|
|
|
|
SYNC_FAILED=$(printf '%s%s' '%{F#F00}' $(echo -e '\Uf0b98')) # red
|
|
|
|
|
|
|
|
|
|
if ! command -v seaf-cli &>/dev/null ; then
|
|
|
|
|
echo "Seafile not downloaded to device!">&2
|
|
|
|
|