Browse Source

Add support a default association

master
sin 10 years ago
parent
commit
51253b0564
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      noice.c

+ 5
- 4
noice.c View File

@@ -42,11 +42,12 @@ struct assoc {

/* Configuration */
struct assoc assocs[] = {
{ ".(avi|mp4|mkv|mp3|ogg)$", "mplayer" },
{ ".srt$", "less" },
{ ".txt$", "less" },
{ ".sh$", "sh" },
{ "\\.(avi|mp4|mkv|mp3|ogg)$", "mplayer" },
{ "\\.srt$", "less" },
{ "\\.txt$", "less" },
{ "\\.sh$", "sh" },
{ "^README$", "less" },
{ ".*", "less" },
};

struct entry {


Loading…
Cancel
Save