Hello everybody,

I wrote a patch as an addition to config.def.h to support ff and ff.bz2
images. Let me know what you think.

Cheers

FRIGN

-- 
FRIGN <d...@frign.de>
>From c8504ac1a1f1f508fc0989bdc8d0a59c8efd2d98 Mon Sep 17 00:00:00 2001
From: FRIGN <d...@frign.de>
Date: Thu, 14 Jul 2016 11:19:36 +0200
Subject: [PATCH] Add .ff and .ff.bz2 to filter rules

So you can use them directly :)
---
 config.def.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h
index 92d577c..eac96db 100644
--- a/config.def.h
+++ b/config.def.h
@@ -47,5 +47,7 @@ static Shortcut shortcuts[] = {
 };
 
 static Filter filters[] = {
-	{ "\\.(png|jpg|gif)$", "2ff" },
+	{ "\\.ff$", "cat" },
+	{ "\\.ff.bz2$", "bunzip2" },
+	{ "\\.[a-z0-9]+$", "2ff" },
 };
-- 
2.4.10

Reply via email to