10 lines
178 B
Bash
Executable File

#!/bin/sh
icon="$(cat "/tmp/newsupdate" 2>/dev/null)"
unread="$(cat "$HOME/.cache/news_unread" 2>/dev/null)"
printf ""
[ "$unread" ] && printf " %s" "$unread"
echo "$icon"