~kris/dots

srice

ref: 94ef01abf339f7156c69870d969cd635566faddd srice/.local/bin/misc/podentr -rwxr-xr-x 238 bytes
94ef01ab — Kris Yotam remove nvim config, add mksh/planrc/gentoo profile, update code+write configs and fastfetch glenda 4 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