aboutsummaryrefslogtreecommitdiff
path: root/src/dwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dwm.h')
-rw-r--r--src/dwm.h16
1 files changed, 15 insertions, 1 deletions
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 <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);