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>
This commit is contained in:
10
nsxiv.h
10
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*);
|
||||
|
||||
|
Reference in New Issue
Block a user