From e371d9edd474bcf89cf5d462eaccb8638900b390 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 3 Oct 2020 19:27:15 -0400 Subject: Initial commit --- .local/bin/dropbox-status | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .local/bin/dropbox-status (limited to '.local/bin/dropbox-status') diff --git a/.local/bin/dropbox-status b/.local/bin/dropbox-status new file mode 100755 index 0000000..05e6fda --- /dev/null +++ b/.local/bin/dropbox-status @@ -0,0 +1,9 @@ +#!/bin/sh + +case "$(dropbox-cli status | head -n 1)" in + "Up to date") icon="" ;; + "Syncing"*) icon=" " ;; + *) icon=" " +esac + +echo " $icon " -- cgit v1.2.3