blob: bf1eeb8a98781c1ba962999f44c3da8828ba63a5 (
plain) (
blame)
1
2
3
4
5
6
|
#!/usr/bin/env sh
# entr command to run `queueandnotify` when newsboat queue is changed
[ "$(pgrep -x $(basename $0) | wc -l)" -gt 2 ] && exit
echo ~/.local/share/newsboat/queue | entr -p queueandnotify 2>/dev/null
|