diff options
| author | auric <104602845+ihateamongus@users.noreply.github.com> | 2025-09-07 19:26:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-07 19:26:17 -0500 |
| commit | 30b8f7faf8b3d58971672cadf97084d2a897bea9 (patch) | |
| tree | 2849f3dea2612f11f9f1496c00ad3344ec0df644 /dwm/dwm.c | |
| parent | ac363b0b326afc73b7e01d0bed8848ed336e0a39 (diff) | |
| parent | 8661540682391f5f6db33a86747028d90dda09ed (diff) | |
Merge branch 'master' into codex/analyze-oldresources-folder-for-performance-x6iukv
Diffstat (limited to 'dwm/dwm.c')
| -rw-r--r-- | dwm/dwm.c | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -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 |
