Display statusline (without formats)
This commit is contained in:
@ -3,9 +3,12 @@
|
||||
|
||||
#include "util.h"
|
||||
|
||||
typedef struct rect_t rect;
|
||||
typedef int bool;
|
||||
|
||||
typedef struct rect_t rect;
|
||||
struct ev_loop* main_loop;
|
||||
pid_t child_pid;
|
||||
char *statusline;
|
||||
|
||||
struct rect_t {
|
||||
int x;
|
||||
@ -14,6 +17,4 @@ struct rect_t {
|
||||
int h;
|
||||
};
|
||||
|
||||
struct ev_loop* main_loop;
|
||||
|
||||
#endif
|
||||
|
@ -16,15 +16,15 @@ void free_outputs();
|
||||
i3_output* get_output_by_name(char* name);
|
||||
|
||||
struct i3_output {
|
||||
char* name;
|
||||
bool active;
|
||||
int ws;
|
||||
rect rect;
|
||||
char* name;
|
||||
bool active;
|
||||
int ws;
|
||||
rect rect;
|
||||
|
||||
xcb_window_t bar;
|
||||
xcb_gcontext_t bargc;
|
||||
xcb_window_t bar;
|
||||
xcb_gcontext_t bargc;
|
||||
|
||||
struct ws_head *workspaces;
|
||||
struct ws_head *workspaces;
|
||||
|
||||
SLIST_ENTRY(i3_output) slist;
|
||||
};
|
||||
|
@ -23,7 +23,7 @@ void clean_xcb();
|
||||
void get_atoms();
|
||||
void destroy_windows();
|
||||
void create_windows();
|
||||
void draw_buttons();
|
||||
void draw_bars();
|
||||
int get_string_width(char *string);
|
||||
void handle_xcb_event(xcb_generic_event_t *event);
|
||||
|
||||
|
Reference in New Issue
Block a user