From e26c81fe9ab43ef0148f51464dbae0f7a0e2b91e Mon Sep 17 00:00:00 2001 From: N-R-K <79544946+N-R-K@users.noreply.github.com> Date: Wed, 23 Feb 2022 09:23:22 +0000 Subject: use win-title script for customizing window title (#213) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this removes the cli flag `-T` as well as related config.h options. Co-authored-by: Berke Kocaoğlu --- nsxiv.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'nsxiv.h') 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*); -- cgit v1.2.3