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/yadms | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .local/bin/yadms (limited to '.local/bin/yadms') 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" -- cgit v1.2.3