summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/check-mail
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/check-mail')
-rwxr-xr-x.local/bin/dwmbar/check-mail5
1 files changed, 5 insertions, 0 deletions
diff --git a/.local/bin/dwmbar/check-mail b/.local/bin/dwmbar/check-mail
new file mode 100755
index 0000000..c9ab3b2
--- /dev/null
+++ b/.local/bin/dwmbar/check-mail
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ -z "$($HOME/.local/bin/dwmbar/dwmb-mail)" ] && exit 1
+
+exit 0