]> Sergey Matveev's repositories - nnn.git/commitdiff
Change default associations
authorlostd <lostd@2f30.org>
Fri, 10 Oct 2014 11:57:02 +0000 (14:57 +0300)
committerlostd <lostd@2f30.org>
Fri, 10 Oct 2014 11:57:02 +0000 (14:57 +0300)
noice.c

diff --git a/noice.c b/noice.c
index 5916fca09e0205946bb8d66e9f2f2c211baa392f..c016d9ac4e1e5494d1d75badcfcec6d522ea0fbc 100644 (file)
--- a/noice.c
+++ b/noice.c
@@ -44,10 +44,10 @@ struct assoc {
 /* Configuration */
 struct assoc assocs[] = {
        { "\\.(avi|mp4|mkv|mp3|ogg)$", "mplayer" },
-       { "\\.srt$", "less" },
-       { "\\.txt$", "less" },
+       { "\\.(png|jpg|gif)$", "feh" },
+       { "\\.(html|svg)$", "firefox" },
+       { "\\.pdf$", "mupdf" },
        { "\\.sh$", "sh" },
-       { "^README$", "less" },
        { ".*", "less" },
 };