nopenconf.def.h - noice - small file browser (mirror / fork from 2f30.org) | |
git clone git://git.codemadness.org/noice | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
nopenconf.def.h (640B) | |
--- | |
1 /* See LICENSE file for copyright and license details. */ | |
2 | |
3 /* {} will be substituted with the actual argument when the rule is exec… | |
4 struct rule rules[] = { | |
5 { .regex = "\\.(avi|mp4|mkv|mp3|ogg|flac|mov)$", .file = "mpv", … | |
6 { .regex = "\\.(png|jpg|gif)$", .file = "sxiv", .argv = { "sxiv"… | |
7 { .regex = "\\.(html|svg)$", .file = "firefox", .argv = { "firef… | |
8 { .regex = "\\.pdf$", .file = "mupdf", .argv = { "mupdf", "{}", … | |
9 { .regex = "\\.sh$", .file = "sh", .argv = { "sh", "{}", NULL} }, | |
10 { .regex = ".", .file = "less", .argv = { "less", "{}", NULL } }, | |
11 }; |