From 4df262ade044448f83092ab157a15b4a3f170eec Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Fri, 8 Mar 2024 00:40:38 +0100 Subject: Refactor dwm ipc send and add get_tags --- src/dwm.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/dwm.h') diff --git a/src/dwm.h b/src/dwm.h index be016e6..566360f 100644 --- a/src/dwm.h +++ b/src/dwm.h @@ -1,9 +1,23 @@ #ifndef COMET_DWM_H #define COMET_DWM_H +#include +#include + #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); -- cgit v1.2.3