bemenu 1.0.0
Dynamic menu library and client program inspired by dmenu
common.h
1 #ifndef _BM_COMMON_H_
2 #define _BM_COMMON_H_
3 
4 #include <bemenu.h>
5 
6 struct client {
7  enum bm_filter_mode filter_mode;
8  enum bm_scrollbar_mode scrollbar;
9  const char *colors[BM_COLOR_LAST];
10  const char *title;
11  const char *prefix;
12  const char *font;
13  uint32_t lines;
14  uint32_t selected;
15  uint32_t monitor;
16  bool bottom;
17  bool grab;
18  bool wrap;
19 };
20 
21 void parse_args(struct client *client, int *argc, char **argv[]);
22 struct bm_menu* menu_with_options(struct client *client);
23 enum bm_run_result run_menu(struct bm_menu *menu);
24 
25 #endif /* _BM_COMMON_H_ */
26 
27 /* vim: set ts=8 sw=4 tw=0 :*/
bm_filter_mode
Definition: bemenu.h:131
bm_run_result
Definition: bemenu.h:161
Definition: common.h:6
bm_scrollbar_mode
Definition: bemenu.h:147