diff options
Diffstat (limited to '.local/bin/dwmbar/dwmb-eselect')
-rwxr-xr-x | .local/bin/dwmbar/dwmb-eselect | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.local/bin/dwmbar/dwmb-eselect b/.local/bin/dwmbar/dwmb-eselect new file mode 100755 index 0000000..2544ab4 --- /dev/null +++ b/.local/bin/dwmbar/dwmb-eselect @@ -0,0 +1,11 @@ +#!/bin/sh + +icon=" " + +total="$(eselect news count all)" +unread="$(eselect news count new)" + +case "$total" in +0) echo "" ;; +*) echo "$icon $unread/$total" ;; +esac |