diff options
Diffstat (limited to '.local/bin/dwmbar/check-eselect')
-rwxr-xr-x | .local/bin/dwmbar/check-eselect | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/dwmbar/check-eselect b/.local/bin/dwmbar/check-eselect new file mode 100755 index 0000000..760765b --- /dev/null +++ b/.local/bin/dwmbar/check-eselect @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "$(eselect news count all)" -eq 0 ]; then + exit 1 +else + exit 0 +fi + |