From 54920103c2843f5a3620effbccaceaee7f6885c1 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 18 May 2019 00:07:32 -0400 Subject: scripts moved to ~/.local/bin --- .local/bin/tools/podentr | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .local/bin/tools/podentr (limited to '.local/bin/tools/podentr') diff --git a/.local/bin/tools/podentr b/.local/bin/tools/podentr new file mode 100755 index 0000000..13ab4a8 --- /dev/null +++ b/.local/bin/tools/podentr @@ -0,0 +1,6 @@ +#!/bin/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 -- cgit v1.3.1