aboutsummaryrefslogtreecommitdiff
path: root/src/dwm.h
blob: 566360fce4b8fe83aa65c735aaed2d3991779266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef COMET_DWM_H
#define COMET_DWM_H

#include <glib.h>
#include <gio/gio.h>

#include "state.h"

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);

void dwm_register_tags(DwmIpc *dwm, Color color, Color selected, Color text_color, Color line_color);

void dwm_destroy(DwmIpc *dwm);

#endif

// vim: ts=4 sw=4 et