From d055a1c256233afd955fa9c6415c3334c3bc697b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 12 Mar 2026 11:44:11 +0200 Subject: dfm: Add support for images --- config.h.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index d7be704..8eb7106 100644 --- a/config.h.in +++ b/config.h.in @@ -33,6 +33,15 @@ #define DFM_BOOKMARK_8 "" #define DFM_BOOKMARK_9 "" +// +// Default image viewer. +// The command is executed as follows: +// 'arg0' 'arg1' '{col}x{rol}' 'img' +// +#define DFM_IMG_MODE "chafa" // "kitty" +#define DFM_IMG_KITTY_CMD "kitten", "icat", "--align", "left", "--place" +#define DFM_IMG_CHAFA_CMD "chafa", "--format=sixel", "-s" + // // Default trash utility. // Can be set at runtime via environment: \$DFM_TRASH -- cgit v1.2.3