Forgot the most important part!
c1d2ba6ad51d1022316bd8554cda8ff5f7ee4627
1 parent
e60341d9
bin/xmobar-dropbox-status
added
+12 -0
| 1 | + | #!/bin/sh |
|
| 2 | + | ||
| 3 | + | status="$(dropbox-cli status)" |
|
| 4 | + | ||
| 5 | + | case "$status" in |
|
| 6 | + | "Up to date") |
|
| 7 | + | echo "✔" ;; |
|
| 8 | + | Syncing*) |
|
| 9 | + | echo "↯" ;; |
|
| 10 | + | *) |
|
| 11 | + | echo "✘ $status" ;; |
|
| 12 | + | esac |