shithub: exie

Download patch

ref: 4532cf805aa44d6068042305dbf76c188339375c
parent: 6750a5b82a54649fe6dc9d86d76db8a07803cd81
author: Aaron Bieber <aaron@bolddaemon.com>
date: Sun Aug 22 08:27:16 EDT 2021

+plumbing

diff: cannot open b/usr/qbit/lib//null: file does not exist: 'b/usr/qbit/lib//null'
--- /dev/null
+++ b/usr/qbit/lib/plumbing
@@ -1,0 +1,15 @@
+# to update: cp /usr/qbit/lib/plumbing /mnt/plumb/rules
+
+editor = acme
+browser = mothra
+
+# image files go to page
+type is text
+data matches '[a-zA-Z¡-￿0-9_\-.,/]+'
+data matches '([a-zA-Z¡-￿0-9_\-.,/]+)\.(jpe?g|JPE?G|gif|GIF|tiff?|TIFF?|ppm|PPM|bit|BIT|png|PNG|pgm|PGM|bmp|BMP|yuv|YUV)'
+arg isfile	$0
+plumb to image
+plumb client page -wi
+
+include basic
+