diff options
author | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2022-02-23 09:23:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-23 09:23:22 +0000 |
commit | e26c81fe9ab43ef0148f51464dbae0f7a0e2b91e (patch) | |
tree | d65b9950f1c9310e40490302d77782c182a47377 /nsxiv.h | |
parent | ad95012be993664e062e7724155c54a482a51315 (diff) |
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.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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*); |