dotfiles/home/default/.config/waybar/scripts/notifications.sh

7 lines
144 B
Bash
Raw Normal View History

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