~kris/dots

srice

ref: e9b48d06a8541f3eda5c4db90382ab3c77183afb srice/.local/bin/misc/podentr -rwxr-xr-x 238 bytes
e9b48d06 — Kris Yotam xprofile: systemd-aware pipewire start + blueman-applet; sb-internet: tolerate missing /proc/net/wireless 2 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