1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh icon="" total="$(eselect news count all)" unread="$(eselect news count new)" case "$total" in 0) echo "" ;; *) echo "$icon $unread/$total" ;; esac