summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
Diffstat (limited to 'dwm')
-rw-r--r--dwm/dwm.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/dwm/dwm.c b/dwm/dwm.c
index 2ddbee3..85b78f8 100644
--- a/dwm/dwm.c
+++ b/dwm/dwm.c
@@ -280,6 +280,22 @@ static Window root, wmcheckwin;
/* configuration, allows nested code to access above variables */
#include "config.h"
+#ifndef BAROPACITY
+#define BAROPACITY 1.0
+#endif
+
+static unsigned int scratchtag = 1 << LENGTH(tags);
+
+#define SHMNAME "/breathing_color_shm"
+typedef struct {
+ uint32_t magic;
+ uint32_t version;
+ volatile uint32_t seq;
+ char color[8];
+} ColorShm;
+
+static ColorShm *accentshm;
+static char accentcol[8] = "#005577";
#ifndef BAROPACITY
#define BAROPACITY 1.0