URLs and terminal behavior - GNU/Linux

Users browsing this thread: 5 Guest(s)
Evolution
Long time nixers
Hm I have something similar but as urxvt absolutely hated me and refused to work I stopped using it.
(Links were unclickable, it wouldn't create tabs)



URxvt*perl-ext: default
URxvt*matcher.button: 1
URxvt*urlLauncher: firefox

!urxvt.matcher.pattern.0: \\b(?:(?:https?|ftp|news|file):\/\/|mailto:)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~#]+ [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27()~]
URxvt*matcher.pattern.0: \\b(?:(?:https?|ftp):\/\/|mailto:)[\\w\-\@;\/?:&=%\$_.+!*\x27(),~#]+ [\\w\-\@;\/?:&=%\$_+!*\x27()~]
URxvt*matcher.pattern.1: \\bwww\\.[\\w-]+\\.[\\w./?&@#-]*[\\w/-]

!!! This one matches image URLs and open them in FEH
URxvt*matcher.pattern.2: \\bhttps?:\/\/[\\w-.]*\/[\\w./?&@#-]*.(jpg|jpeg|png)
URxvt*matcher.launcher.2: feh $0

!!! Open youtubeliks in your own youtubescript
URxvt*matcher.pattern.3: \\bhttp:\/\/(www.youtube|youtube).com\/watch\\?v=([\\w-]*)
URxvt*matcher.launcher.3: /usr/bin/ytlaunch $2
[Image: mg3nm7.gif]
We live as we dream, alone.


Messages In This Thread
URLs and terminal behavior - by Evolution - 23-07-2012, 04:27 PM
RE: URLs and terminal behavior - by yrmt - 23-07-2012, 04:33 PM
RE: URLs and terminal behavior - by Evolution - 23-07-2012, 04:36 PM
RE: URLs and terminal behavior - by crshd - 23-07-2012, 10:52 PM
RE: URLs and terminal behavior - by Evolution - 23-07-2012, 11:09 PM
RE: URLs and terminal behavior - by crshd - 23-07-2012, 11:58 PM
RE: URLs and terminal behavior - by Evolution - 24-07-2012, 12:35 AM
RE: URLs and terminal behavior - by yrmt - 24-07-2012, 06:43 AM
RE: URLs and terminal behavior - by Alexander - 24-07-2012, 06:50 AM
RE: URLs and terminal behavior - by crshd - 25-07-2012, 01:40 AM
RE: URLs and terminal behavior - by yrmt - 25-07-2012, 05:02 AM
RE: URLs and terminal behavior - by crshd - 25-07-2012, 10:51 AM