Created
April 27, 2012 16:33
-
-
Save akrito/2510614 to your computer and use it in GitHub Desktop.
.config/byobu/bin/60_dropbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
s=$(/usr/bin/dropbox status) | |
case "$s" in | |
"Dropbox isn"*) | |
echo 'π£' | |
;; | |
Idle*) | |
echo 'π€' | |
;; | |
Downloading*|Indexing*|Uploading*) | |
echo 'π' | |
;; | |
Starting*|Connecting*) | |
echo 'π' | |
;; | |
*) | |
echo $s | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment