Re: [dev][project] soap - a simple xdg-open replacement

From: Amadeus Folego <amadeusfolego_AT_gmail.com>
Date: Mon, 5 May 2014 22:19:53 -0300

Yeah, mailcap format would be amazing, I would use that!

On Tue, May 06, 2014 at 02:36:58AM +0200, Dmitrij D. Czarkoff wrote:
> FRIGN said:
> > A configuration can look like this:
> >
> > { "\.mp3", "st -e mplayer %s" },
> > { "\.(jpg|png|tiff)$", "feh %s" },
> > { "\.gif", "wget -O /tmp/tmp.gif %s && gifview -a /tmp/tmp.gif" },
> > { "^(http://|https://)?(www\.)?(youtube.com/watch\?|youtu\.be/)", "youtube-viewer %s" }
> >
> > where %s is the _shell-escaped_ argument given to xdg-open.
>
> Am I missing something, or mailcap files already do that?
>
> --
> Dmitrij D. Czarkoff
>
Received on Tue May 06 2014 - 03:19:53 CEST

This archive was generated by hypermail 2.3.0 : Tue May 06 2014 - 03:24:06 CEST