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

7 lines
144 B
Bash
Executable File

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