summaryrefslogtreecommitdiffhomepage
path: root/patches.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2022-08-12 13:47:25 +0200
committerbakkeby <[email protected]>2022-08-12 13:47:25 +0200
commitc438eabdc247b2ac773139e8f7f9c5defd632d11 (patch)
treefceb5d365100ae8b2f10f5314efac84a33df7796 /patches.def.h
parent91cb32c3edcc6d5049b6d0115309d75ecda547bb (diff)
downloaddwm-flexipatch-c438eabdc247b2ac773139e8f7f9c5defd632d11.tar.gz
dwm-flexipatch-c438eabdc247b2ac773139e8f7f9c5defd632d11.zip
Adding nametag patch
Diffstat (limited to 'patches.def.h')
-rw-r--r--patches.def.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches.def.h b/patches.def.h
index 2338139..158da7b 100644
--- a/patches.def.h
+++ b/patches.def.h
@@ -782,6 +782,32 @@
*/
#define MOVESTACK_PATCH 0
+/* This patch allows you to change the names of tags during runtime.
+ *
+ * This is a bespoke version implemented specifically in relation to tagicons, which is integrated
+ * into dwm-flexipatch. By default it uses dmenu to retrieve the new name, but this can be
+ * customised via config along with the maximum text length and the format string.
+ *
+ * Special behaviour:
+ * - if more than one tag is selected then the name change applies to all selected tags
+ * - if tagicons is configured to have unique tags per monitor then the change only applies
+ * for the current monitor
+ * - the name change applies to the tag set that is active for the current tag:
+ * * if used in combination with BAR_ALTTAGSDECORATION_PATCH and there are clients on the
+ * given tag then the name change only applies to the ALT_TAGS_DECORATION tag set
+ * * if used in combination with the BAR_ALTERNATIVE_TAGS_PATCH and alternative tags are
+ * shown then the name change only applies to the ALTERNATIVE_TAGS tag set
+ * * if used in combination with both then BAR_ALTTAGSDECORATION_PATCH takes precedence
+ * * otherwise the name change applies to the DEFAULT_TAGS tag set
+ *
+ * https://dwm.suckless.org/patches/nametag/
+ */
+#define NAMETAG_PATCH 0
+
+/* Variant of the above which prepends the tag number to the given string.
+ * The toggle does nothing on its own and need to be enabled in combination with the above. */
+#define NAMETAG_PREPEND_PATCH 0
+
/* Adds support for the _NET_CLIENT_LIST_STACKING atom, needed by certain applications like the
* Zoom video conferencing application.
* https://github.com/bakkeby/patches/wiki/netclientliststacking/