~kris/dots

srice

ref: 2dc7c2f7e39f562e3603676ef50c2df0a4723c19 srice/.local/bin/podentr -rwxr-xr-x 238 bytes
2dc7c2f7 — Kris Yotam update nvim plan9 theme, add hosts file, misc updates 6 months ago
                                                                                
1
2
3
4
5
6
7
#!/bin/sh

# entr command to run `queueandnotify` when newsboat queue is changed

[ "$(pgrep -x "$(basename "$0")" | wc -l)" -gt 2 ] && exit

echo "${XDG_DATA_HOME:-$HOME/.local/share}"/newsboat/queue | entr -p queueandnotify 2>/dev/null