summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
Diffstat (limited to 'dwm')
-rw-r--r--dwm/config.def.h6
-rw-r--r--dwm/dwm.c17
2 files changed, 20 insertions, 3 deletions
diff --git a/dwm/config.def.h b/dwm/config.def.h
index 50ae8a6..c94f430 100644
--- a/dwm/config.def.h
+++ b/dwm/config.def.h
@@ -30,9 +30,9 @@ static const Rule rules[] = {
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
- /* class instance title tags mask isfloating monitor */
- { "Gimp", NULL, NULL, 0, 1, -1 },
- { "Firefox", NULL, NULL, 1 << 8, 0, -1 },
+ /* class instance title tags mask isfloating monitor */
+ { NULL, NULL, "Picture in picture", 0, 1, -1 },
+ { "Firefox", NULL, NULL, 1 << 8, 0, -1 },
};
/* layout(s) */
diff --git a/dwm/dwm.c b/dwm/dwm.c
index a48eb7d..85b78f8 100644
--- a/dwm/dwm.c
+++ b/dwm/dwm.c
@@ -297,6 +297,23 @@ typedef struct {
static ColorShm *accentshm;
static char accentcol[8] = "#005577";
+#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";
+
/* compile-time check if all tags fit into an unsigned int bit array. */
struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; };