~royniang/lib

ref: 7b41e484cd650986491405751846a4780878b74b lib/plumbing -rw-r--r-- 346 bytes
7b41e484roy niang Some improvement and safety measures. 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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