dotfiles/.local/bin/statusbar/sync_status

9 lines
138 B
Plaintext
Raw Normal View History

2020-07-04 14:23:27 +02:00
#!/bin/sh
string="$(insync get_status)"
case "$string" in
SYNCED) echo '🔗' ;;
OFFLINE) echo '🔗' ;;
SYNCING) echo '🔄' ;;
esac