add ff and ff.bz2 support in config.def.h - sent - simple plaintext presentatio… | |
git clone git://git.suckless.org/sent | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3af7e93324d4fb8dbcb19f60eb7e7357fd350033 | |
parent e1a0b51d843d8e0f148e8bac6b5a134fbb5c443c | |
Author: FRIGN <[email protected]> | |
Date: Thu, 14 Jul 2016 11:23:17 +0200 | |
add ff and ff.bz2 support in config.def.h | |
Diffstat: | |
M config.def.h | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/config.def.h b/config.def.h | |
@@ -49,5 +49,7 @@ static Shortcut shortcuts[] = { | |
}; | |
static Filter filters[] = { | |
- { "\\.(png|jpg|gif)$", "2ff" }, | |
+ { "\\.ff$", "cat" }, | |
+ { "\\.ff.bz2$", "bunzip2" }, | |
+ { "\\.[a-z0-9]+$", "2ff" }, | |
}; |