dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 2bb5e97d7bf854be5c8d4ef180117946720eab5a
parent d079ead4608ac0d5f2c5e5f6f3431ba949137493
Author: hhvn <dev@hhvn.uk>
Date:   Thu, 19 Aug 2021 01:46:27 +0100

.s/b/plumb: lower priority of feed matching (png file contained '<rss' :O)

Diffstat:
M.scripts/bin/plumb | 28++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/.scripts/bin/plumb b/.scripts/bin/plumb @@ -182,20 +182,6 @@ do isfile && plumb terminal 'gpg -d $arg; sleep 5' - matches "\.(atom|rss)$|rss\.xml$" || - fmatches "atom|rss" || - fmagic "<feed.*xmlns.*http://www.w3.org/2005/Atom" || - fmagic "<rss" && - wasfetched && - plumb gui 'sfeed_addfeed $orig' - - matches "\.(atom|rss)$|rss\.xml$" || - fmatches "atom|rss" || - fmagic "<feed.*xmlns.*http://www.w3.org/2005/Atom" || - fmagic "<rss" && - ! wasfetched && - plumb terminal 'sfeed < $arg | sort -rn | sfeed_curses' - matches ".*\.(epub|ps|eps|pdf|dvi|djvu)$" || fmatches "pdf|postscript" && isfile && @@ -220,6 +206,20 @@ do isfile && plumb terminal 'cgo -f $arg' + matches "\.(atom|rss)$|rss\.xml$" || + fmatches "atom|rss" || + fmagic "<feed.*xmlns.*http://www.w3.org/2005/Atom" || + fmagic "<rss" && + wasfetched && + plumb gui 'sfeed_addfeed $orig' + + matches "\.(atom|rss)$|rss\.xml$" || + fmatches "atom|rss" || + fmagic "<feed.*xmlns.*http://www.w3.org/2005/Atom" || + fmagic "<rss" && + ! wasfetched && + plumb terminal 'sfeed < $arg | sort -rn | sfeed_curses' + # numbered file matches ":[0-9][0-9]*$" && isfile ${arg%:*} &&