aboutsummaryrefslogtreecommitdiffstats
path: root/nsxiv.h
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2022-02-23 10:23:22 +0100
committerGitHub <noreply@github.com>2022-02-23 10:23:22 +0100
commite26c81fe9ab43ef0148f51464dbae0f7a0e2b91e (patch)
treed65b9950f1c9310e40490302d77782c182a47377 /nsxiv.h
parentad95012be993664e062e7724155c54a482a51315 (diff)
downloadnsxiv-e26c81fe9ab43ef0148f51464dbae0f7a0e2b91e.tar.zst
use win-title script for customizing window title (#213)
this removes the cli flag `-T` as well as related config.h options. Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/nsxiv.h b/nsxiv.h
index b6b04fb..1b0bc6f 100644
--- a/nsxiv.h
+++ b/nsxiv.h
@@ -111,12 +111,6 @@ 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 */
@@ -265,8 +259,6 @@ struct opt {
Window embed; /* unsigned long */
char *geometry;
char *res_name;
- const char *title_prefix;
- suffixmode_t title_suffixmode;
/* misc flags: */
bool quiet;
@@ -448,7 +440,7 @@ void win_toggle_bar(win_t*);
void win_clear(win_t*);
void win_draw(win_t*);
void win_draw_rect(win_t*, int, int, int, int, bool, int, unsigned long);
-void win_set_title(win_t*, const char*);
+void win_set_title(win_t*);
void win_set_cursor(win_t*, cursor_t);
void win_cursor_pos(win_t*, int*, int*);