diff options
| author | Federico Angelilli <code@fedang.net> | 2024-03-08 00:40:38 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-03-08 00:45:38 +0100 |
| commit | 4df262ade044448f83092ab157a15b4a3f170eec (patch) | |
| tree | 2f01ce7978e115fed595d0a908e0827b934eddac /src/dwm.h | |
| parent | 04275df210744923651c6119e64301a8e2d45e77 (diff) | |
Refactor dwm ipc send and add get_tags
Diffstat (limited to 'src/dwm.h')
| -rw-r--r-- | src/dwm.h | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,9 +1,23 @@ #ifndef COMET_DWM_H #define COMET_DWM_H +#include <glib.h> +#include <gio/gio.h> + #include "state.h" -typedef struct DwmIpc DwmIpc; +typedef struct { + GSocket *socket; + GSource *source; + State *state; + Color color; + Color text_color; + Color selected; + Button *tags[9]; + Button *title; + bool change_title; + bool hidden_title; +} DwmIpc; DwmIpc *dwm_create(State *state, const char *socket); |
