plumber

Plumber – a modern approach to plumbing
git clone git://r-36.net/plumber
Log | Files | Refs | LICENSE

commit 93e82c30f35663789c1fc66ae4754909a6e8ddff
parent a961e969ebce4cadc4fd176b1ea66acee7cd23c2
Author: Christoph Lohmann <20h@r-36.net>
Date:   Thu, 31 Dec 2020 14:16:52 +0100

Modern mpv knows gopher. Keep the comment.

Diffstat:
openers/mediaopener | 16+++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/openers/mediaopener b/openers/mediaopener @@ -6,10 +6,12 @@ then exit 1 fi -## mpv doesn't understand gopher ## -if [ $(expr "$1" : "^gopher://") -eq 9 ]; -then - $XTERM -e sh -c "curl -s \"$1\" | mpv -" & -else - $XTERM -e sh -c "mpv \"$1\"" & -fi +$XTERM -e sh -c "mpv \"$1\"" & + +## if mpv doesn't understand gopher ## +#if [ $(expr "$1" : "^gopher://") -eq 9 ]; +#then +# $XTERM -e sh -c "curl -s \"$1\" | mpv -" & +#else +# $XTERM -e sh -c "mpv \"$1\"" & +#fi