From f15cde15550aaa8118b56709b67178a858f64012 Mon Sep 17 00:00:00 2001 From: Krow Savcik Date: Thu, 11 Jan 2024 16:23:38 +0200 Subject: feature: picking file Now you can pick a file for import/export/open/save with an external command. --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 396f26a..ee8e1fa 100644 --- a/config.def.h +++ b/config.def.h @@ -4,6 +4,8 @@ const unsigned int maxzoom = 20; const unsigned int fps = 30; const char *def_palette_path = "assets/default.gpl"; const char *def_theme_path = "assets/ui.png"; +/* path to an external program for picking files. it should output only the picked file in stdout */ +const char *cmd_file_picker = NULL; /* NULL - will take input from terminal */ const unsigned int back_c = COLTOINT(146, 161, 185); static Key keys[] = { -- cgit v1.2.3