solorice/config/eww/scripts/github
Kristofers Solo a42ded1119 Use dotter
2024-08-28 09:02:07 +03:00

5 lines
140 B
Bash
Executable File

#!/bin/sh
notifications="$(gh api notifications 2> /dev/null | jq '. | length')"
[ -z notifications ] && echo "" || echo "$notifications"