summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-dotfiles
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/dwmb-dotfiles')
-rwxr-xr-x.local/bin/dwmbar/dwmb-dotfiles15
1 files changed, 15 insertions, 0 deletions
diff --git a/.local/bin/dwmbar/dwmb-dotfiles b/.local/bin/dwmbar/dwmb-dotfiles
new file mode 100755
index 0000000..9c9c34d
--- /dev/null
+++ b/.local/bin/dwmbar/dwmb-dotfiles
@@ -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"