summaryrefslogtreecommitdiff
path: root/.local/bin/yadms
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/yadms')
-rwxr-xr-x.local/bin/yadms15
1 files changed, 15 insertions, 0 deletions
diff --git a/.local/bin/yadms b/.local/bin/yadms
new file mode 100755
index 0000000..56e8fce
--- /dev/null
+++ b/.local/bin/yadms
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+dotfiles=$(yadm status | sed '1,3d;
+ 5,$d;
+ s/.$//g')
+
+if [[ ${dotfiles:0:1} == "n" ]]; then
+ warn=""
+else
+ warn="  "
+fi
+
+
+
+echo "  $warn"