soap

simple xdg-open replacement with fallback
git clone git://git.2f30.org/soap
Log | Files | Refs | LICENSE

config.def.h (418B)


      1 /* See LICENSE file for copyright and license details. */
      2 
      3 static const Pair pairs[] = {
      4 	/* regex                  action */
      5 	{ "\\.(jpg|png|tiff)$",    "feh %s"        },
      6 	{ "\\.gif$",               "wget -O /tmp/tmp_gifview.gif %s && gifview -a /tmp/tmp_gifview.gif" },
      7 	{ "\\.mp3$",               "st -e mplayer %s" },
      8 	{ "^(http://|https://)?(www\\.)?(youtube.com/watch\\?|youtu\\.be/)", "youtube-viewer %s" }
      9 };