summaryrefslogtreecommitdiff
path: root/dwm/dwm.c
diff options
context:
space:
mode:
authorauric <104602845+ihateamongus@users.noreply.github.com>2025-09-07 19:26:17 -0500
committerGitHub <noreply@github.com>2025-09-07 19:26:17 -0500
commit30b8f7faf8b3d58971672cadf97084d2a897bea9 (patch)
tree2849f3dea2612f11f9f1496c00ad3344ec0df644 /dwm/dwm.c
parentac363b0b326afc73b7e01d0bed8848ed336e0a39 (diff)
parent8661540682391f5f6db33a86747028d90dda09ed (diff)
Merge branch 'master' into codex/analyze-oldresources-folder-for-performance-x6iukv
Diffstat (limited to 'dwm/dwm.c')
-rw-r--r--dwm/dwm.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/dwm/dwm.c b/dwm/dwm.c
index 6387839..8eccf8f 100644
--- a/dwm/dwm.c
+++ b/dwm/dwm.c
@@ -280,6 +280,43 @@ static Window root, wmcheckwin;
/* configuration, allows nested code to access above variables */
#include "config.h"
+#ifndef BAROPACITY
+#define BAROPACITY 1.0
+#endif
+
+/* tag used for scratchpad clients */
+static const 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;
+
+/* state for the shared accent color */
+static ColorShm *accentshm;
+static char accentcol[8] = "#005577";
+
+#ifndef BAROPACITY
+#define BAROPACITY 1.0
+#endif
+
+/* tag used for scratchpad clients */
+static const 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;
+
+/* state for the shared accent color */
+static ColorShm *accentshm;
+static char accentcol[8] = "#005577";
#ifndef BAROPACITY
#define BAROPACITY 1.0