aboutsummaryrefslogtreecommitdiff
path: root/sxiv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sxiv.h')
-rw-r--r--sxiv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sxiv.h b/sxiv.h
index c914837..902446d 100644
--- a/sxiv.h
+++ b/sxiv.h
@@ -116,6 +116,12 @@ typedef enum {
FF_TN_INIT = 4
} fileflags_t;
+typedef enum {
+ SUFFIX_EMPTY,
+ SUFFIX_BASENAME,
+ SUFFIX_FULLPATH,
+} suffixmode_t;
+
typedef struct {
const char *name; /* as given by user */
const char *path; /* always absolute */
@@ -280,6 +286,8 @@ struct opt {
long embed;
char *geometry;
char *res_name;
+ const char *title_prefix;
+ suffixmode_t title_suffixmode;
/* misc flags: */
bool quiet;