9scripts/lib/plumbing

26 lines
556 B
Plaintext

# 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