12 lines
229 B
Bash
Executable file
12 lines
229 B
Bash
Executable file
#!/bin/sh
|
|
|
|
while :; do
|
|
until newsboat -x reload >/dev/null; do
|
|
sleep 1;
|
|
done
|
|
until unread="$(newsboat -x print-unread)"; do
|
|
sleep 1;
|
|
done
|
|
echo "$unread" | awk '{ print $1 }'
|
|
sleep 300
|
|
done
|