Start tracking changes
This commit is contained in:
26
i3bar/include/workspaces.h
Normal file
26
i3bar/include/workspaces.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef WORKSPACES_H_
|
||||
#define WORKSPACES_H_
|
||||
|
||||
#include "common.h"
|
||||
#include "outputs.h"
|
||||
|
||||
typedef struct i3_ws_t i3_ws;
|
||||
|
||||
i3_ws* workspaces;
|
||||
|
||||
void refresh_workspaces();
|
||||
void free_workspaces();
|
||||
|
||||
struct i3_ws_t {
|
||||
int num;
|
||||
char* name;
|
||||
bool visible;
|
||||
bool focused;
|
||||
bool urgent;
|
||||
rect rect;
|
||||
i3_output* output;
|
||||
|
||||
i3_ws* next;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user