From 18bf2c59597b68046a07eb1e5dcc674f6d932b64 Mon Sep 17 00:00:00 2001 From: anthk Date: Tue, 9 Mar 2021 11:46:24 +0000 Subject: Ajustes para texto-plano --- nopenconf.def.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nopenconf.def.h b/nopenconf.def.h index b1c42f8..42144ed 100644 --- a/nopenconf.def.h +++ b/nopenconf.def.h @@ -2,10 +2,10 @@ /* {} will be substituted with the actual argument when the rule is executed */ struct rule rules[] = { - { .regex = "\\.(avi|mp4|mkv|mp3|ogg|flac|mov)$", .file = "mpv", .argv = { "mpv", "{}", NULL } }, - { .regex = "\\.(png|jpg|gif)$", .file = "sxiv", .argv = { "sxiv", "{}", NULL} }, - { .regex = "\\.(html|svg)$", .file = "firefox", .argv = { "firefox", "{}", NULL } }, - { .regex = "\\.pdf$", .file = "mupdf", .argv = { "mupdf", "{}", NULL} }, + { .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 } }, }; -- cgit v1.2.3