aboutsummaryrefslogtreecommitdiffstats
path: root/nopenconf.def.h
blob: 42144ed5488afcda7fec66a2e3fec366388245b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* See LICENSE file for copyright and license details. */

/* {} will be substituted with the actual argument when the rule is executed */
struct rule rules[] = {
	{ .regex = "\\.(png|jpg|gif)$", .file = "catimg", .argv = { "catimg", "{}", NULL} },
	{ .regex = "\\.(html|svg)$", .file = "lynx", .argv = { "lynx", "{}", NULL } },
	{ .regex = "\\.pdf$", .file = "pdfless", .argv = { "pdfless", "{}", NULL} },
	{ .regex = "\\.epub$", .file = "epub.sh", .argv = { "epub.sh", "{}", NULL} },
	{ .regex = "\\.sh$", .file = "sh", .argv = { "sh", "{}", NULL} },
	{ .regex = ".", .file = "less", .argv = { "less", "{}", NULL } },
};
Un proyecto texto-plano.xyz