summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLM-LCL <hello@exaltedelite.club>2025-01-01 13:02:50 +0100
committerLM-LCL <hello@exaltedelite.club>2025-01-01 13:02:50 +0100
commit3147abb152b81af3ec51abc054ecde54a2cbc539 (patch)
tree9b03560bd9ab5a1364a188af2e3fda2915d3f6c8
parent9d60bba8a01ccd0f7d0c50f3c31d7893d55172c5 (diff)
Tag icons
-rw-r--r--config.def.h24
-rw-r--r--config.h24
2 files changed, 36 insertions, 12 deletions
diff --git a/config.def.h b/config.def.h
index 977da69..1b7a4d9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -24,24 +24,36 @@ static const char *colors[][3] = {
};
/* tagging */
-static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
- /* class instance title tags mask isfloating monitor */
- { "Gimp", NULL, NULL, 0, 1, -1 },
- { "scrcpy", NULL, NULL, 0, 1, -1 },
- /* { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, */
+ /* class instance title tags mask isfloating monitor */
+ { "st-256color", NULL, NULL, 1 << 0, 0, -1 },
+ { "mpv", NULL, NULL, 1 << 1, 0, -1 },
+ { "firefox-esr", NULL, NULL, 1 << 2, 0, -1 },
+ { "Chromium", NULL, NULL, 1 << 2, 0, -1 },
+ { "VSCodium", NULL, NULL, 1 << 3, 0, -1 },
+ { "libreoffice-startcenter", NULL, NULL, 1 << 4, 0, -1 },
+ { "Soffice", NULL, NULL, 1 << 4, 0, -1 },
+ { "Virt-manager", NULL, NULL, 1 << 5, 0, -1 },
+ { "scrcpy", NULL, NULL, 1 << 6, 1, -1 },
+ { "Gimp", NULL, NULL, 1 << 6, 1, -1 },
+ { "Audacity", NULL, NULL, 1 << 6, 0, -1 },
+ { "kdenlive", NULL, NULL, 1 << 6, 0, -1 },
+ { "Mumble", NULL, NULL, 1 << 7, 0, -1 },
+ { "steam", NULL, NULL, 1 << 7, 0, -1 },
+ { "dino-im", NULL, NULL, 1 << 7, 0, -1 },
};
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
-static const int attachbelow = 1; /* 1 means attach after the currently active window */
+static const int attachbelow = 0; /* 1 means attach after the currently active window */
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
static const Layout layouts[] = {
diff --git a/config.h b/config.h
index 977da69..1b7a4d9 100644
--- a/config.h
+++ b/config.h
@@ -24,24 +24,36 @@ static const char *colors[][3] = {
};
/* tagging */
-static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
- /* class instance title tags mask isfloating monitor */
- { "Gimp", NULL, NULL, 0, 1, -1 },
- { "scrcpy", NULL, NULL, 0, 1, -1 },
- /* { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, */
+ /* class instance title tags mask isfloating monitor */
+ { "st-256color", NULL, NULL, 1 << 0, 0, -1 },
+ { "mpv", NULL, NULL, 1 << 1, 0, -1 },
+ { "firefox-esr", NULL, NULL, 1 << 2, 0, -1 },
+ { "Chromium", NULL, NULL, 1 << 2, 0, -1 },
+ { "VSCodium", NULL, NULL, 1 << 3, 0, -1 },
+ { "libreoffice-startcenter", NULL, NULL, 1 << 4, 0, -1 },
+ { "Soffice", NULL, NULL, 1 << 4, 0, -1 },
+ { "Virt-manager", NULL, NULL, 1 << 5, 0, -1 },
+ { "scrcpy", NULL, NULL, 1 << 6, 1, -1 },
+ { "Gimp", NULL, NULL, 1 << 6, 1, -1 },
+ { "Audacity", NULL, NULL, 1 << 6, 0, -1 },
+ { "kdenlive", NULL, NULL, 1 << 6, 0, -1 },
+ { "Mumble", NULL, NULL, 1 << 7, 0, -1 },
+ { "steam", NULL, NULL, 1 << 7, 0, -1 },
+ { "dino-im", NULL, NULL, 1 << 7, 0, -1 },
};
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
-static const int attachbelow = 1; /* 1 means attach after the currently active window */
+static const int attachbelow = 0; /* 1 means attach after the currently active window */
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
static const Layout layouts[] = {