#!/bin/sh # count="$(swaync-client -c)" none="-" if [ "$count" == "0" ]; then echo "$none" ; fi if [ "$count" != "0" ]; then echo "$count" ; fi