commit a328f02853a96c25986b66ad73f9fc35fde7d553
parent 66af61d60a30519120199b0c4f01ab33127725b6
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 23 Jul 2017 18:33:56 +0200
Some more text files and an scm opener.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/bin/plumber b/bin/plumber
@@ -25,8 +25,8 @@ plumbrules = [
["^.*://.*\.(jpeg|jpg|png|gif|xpm|JPG|JPEG|PNG|XPM|GIF|svg|SVG|svgz|SVGZ)$", \
"imageopener '%s'"],
["^.*://.*\.(pdf|PDF)$", "pdfopener '%s'"],
- ["^gopher://.*\.(txt|TXT)$", "textgopheropener '%s'"],
- ["^.*://.*\.(txt|TXT)$", "textwebopener '%s'"],
+ ["^gopher://.*\.(txt|TXT|patch|PATCH|diff|DIFF)$", "textgopheropener '%s'"],
+ ["^.*://.*\.(txt|TXT|patch|PATCH|diff|DIFF)$", "textwebopener '%s'"],
["^.*://.*\.(mp3|MP3|FLAC|flac|ogg|OGG|m3u|M3U|m3u8|M3U8|flv|FLV|opus|OPUS|mov|MOV|mkv|MKV)$",\
"mediaopener '%s'"],
["^dvb://.*", "tvopener '%s'"],
@@ -60,6 +60,7 @@ plumbrules = [
["^searx:.*", "searxopener '%s'"],
["^udp://.*", "mediaopener '%s'"],
["^telnet(s|)(4|6|)://.*", "telnetopener '%s'"],
+ ["^scm:.*", "scmopener '%s'"],
["^ssh://.*", "sshopener '%s'"],
["^tv://.*", "tvopener '%s'"],
["^yt://.*", "ytopener '%s'"],