added some cool plumb rules

This commit is contained in:
Fulton Browne 2021-03-26 20:52:09 +00:00
parent c99d727f57
commit 3d56706b04
1 changed files with 25 additions and 0 deletions

25
lib/plumbing Normal file
View File

@ -0,0 +1,25 @@
# to update: cp /usr/glenda/lib/plumbing /mnt/plumb/rules
editor = sam
browser = netsurf
# Thanks Sirjofri
type is text
data matches '9fs://([^ /]+)/([^ ]*)'
plumb start window 9fs $1 && cd /n/$1/$2 && ls -l $3 && rc -i
type is text
data matches 'gemini://[^ ]+'
plumb to gemini
plumb client window gemnine -w $0
type is text
data matches 'gopher://[^ ]+'
plumb to gopher
plumb client window gopher $0
type is text
data matches 'ftp://([^ /]+)/([^ ]*)'
plumb start window ftpfs -a $user@$sysname $1 && cd /n/ftp/$2 && ls -l $3 && rc -i
include basic