~royniang/lib

36c6a4fdd717edeed532b09c8e6bc58294e6ee7c — roy niang 9 months ago 40e4406
Tracking plumbing file.
2 files changed, 18 insertions(+), 1 deletions(-)

M README.md
A plumbing
M README.md => README.md +1 -1
@@ 9,4 9,4 @@ README
# lib


A repository for my scripts and 9front setups. This directory is expected to be bound on `$home/lib`  by cpustart or termrc.
A repository for my scripts and 9front setups. I just clone this in `$home/lib`

A plumbing => plumbing +17 -0
@@ 0,0 1,17 @@
# to update: cp $home/lib/plumbing /mnt/plumb/rules

editor = sam
browser = mothra

# Thanks Sigrid
type	is	text
data 	matches	'https://(www.)?youtube[^ ]+'
plumb	start	window yt ''''$0''''

# Thanks Sirjofri
type	is	text
data	matches	'9fs://([^ /]+)/([^ ]+/)([^ ]*)'
plumb	start	window 9fs $1 && cd /n/$1/$2 && ls -l $3 && rc -i

include basic