save this as theme.h and include instead of color definitions in config.h
apply following patch to a cloned dwm-flexipatch repo
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | --- ./patches.def.h 2023-10-24 15:43:59.953445722 +0300
+++ ./patches.h 2023-10-31 02:25:38.143465070 +0200
@@ -167,7 +167,7 @@
/* The systray patch adds systray for the status bar.
* https://dwm.suckless.org/patches/systray/
*/
-#define BAR_SYSTRAY_PATCH 0
+#define BAR_SYSTRAY_PATCH 1
/* Show tag symbols in the bar. */
#define BAR_TAGS_PATCH 1
@@ -336,7 +336,7 @@
/* This patch prevents dwm from drawing tags with no clients (i.e. vacant) on the bar.
* https://dwm.suckless.org/patches/hide_vacant_tags/
*/
-#define BAR_HIDEVACANTTAGS_PATCH 0
+#define BAR_HIDEVACANTTAGS_PATCH 1
/* With this patch dwm's built-in status bar is only shown when HOLDKEY is pressed
* and the bar will now overlay the display.
@@ -472,7 +472,7 @@
* This patch takes precedence over ATTACHBOTTOM_PATCH.
* https://dwm.suckless.org/patches/attachbelow/
*/
-#define ATTACHBELOW_PATCH 0
+#define ATTACHBELOW_PATCH 1
/* This patch adds new clients at the bottom of the stack.
* https://dwm.suckless.org/patches/attachbottom/
@@ -532,7 +532,7 @@
* respective stack in tiled layout.
* https://dwm.suckless.org/patches/cfacts/
*/
-#define CFACTS_PATCH 0
+#define CFACTS_PATCH 1
/* This patch allows color attributes to be set through the command line.
* https://dwm.suckless.org/patches/cmdcustomize/
@@ -550,7 +550,7 @@
* then all processes from autostart array will be killed.
* https://dwm.suckless.org/patches/cool_autostart/
*/
-#define COOL_AUTOSTART_PATCH 0
+#define COOL_AUTOSTART_PATCH 1
/* The cyclelayouts patch lets you cycle through all your layouts.
* https://dwm.suckless.org/patches/cyclelayouts/
@@ -650,7 +650,7 @@
* client window that remains under the mouse cursor rather than the most recently focused window.
* https://github.com/bakkeby/patches/wiki/focusfollowmouse
*/
-#define FOCUSFOLLOWMOUSE_PATCH 0
+#define FOCUSFOLLOWMOUSE_PATCH 1
/* A simple patch that just puts focus back to the master client.
* https://dwm.suckless.org/patches/focusmaster/
@@ -667,13 +667,13 @@
* xdotool selectwindow -- set_window --urgency 1
* https://dwm.suckless.org/patches/focusurgent/
*/
-#define FOCUSURGENT_PATCH 0
+#define FOCUSURGENT_PATCH 1
/* By default, dwm responds to _NET_ACTIVE_WINDOW client messages by setting
* the urgency bit on the named window. This patch activates the window instead.
* https://dwm.suckless.org/patches/focusonnetactive/
*/
-#define FOCUSONNETACTIVE_PATCH 0
+#define FOCUSONNETACTIVE_PATCH 1
/* Send "fake signals" to dwm for handling, using xsetroot. This will not conflict with the
* status bar, which also is managed using xsetroot.
@@ -789,7 +789,7 @@
/* This patch allows you to move clients around in the stack and swap them with the master.
* https://dwm.suckless.org/patches/movestack/
*/
-#define MOVESTACK_PATCH 0
+#define MOVESTACK_PATCH 1
/* This patch allows you to change the names of tags during runtime.
*
@@ -826,13 +826,13 @@
/* Removes the border when there is only one window visible.
* https://dwm.suckless.org/patches/noborder/
*/
-#define NOBORDER_PATCH 0
+#define NOBORDER_PATCH 1
/* Enable modifying or removing dmenu in config.def.h which resulted previously in a
* compilation error because two lines of code hardcode dmenu into dwm.
* https://dwm.suckless.org/patches/nodmenu/
*/
-#define NODMENU_PATCH 0
+#define NODMENU_PATCH 1
/* This patch allows for toggleable client button bindings that have no modifiers.
* This can, for example, allow you to move or resize using the mouse alone without holding
@@ -948,7 +948,7 @@
* Additionally dwm can quit cleanly by using kill -TERM dwmpid.
* https://dwm.suckless.org/patches/restartsig/
*/
-#define RESTARTSIG_PATCH 0
+#define RESTARTSIG_PATCH 1
/* Adds rio-like drawing to resize the selected client.
* This depends on an external tool slop being installed.
@@ -1008,7 +1008,7 @@
*
* The above is not persisted across reboots, however.
*/
-#define SEAMLESS_RESTART_PATCH 0
+#define SEAMLESS_RESTART_PATCH 1
/* As opposed to the original patch this only adds a rule option allowing fake fullscreen
* to be enabled for applications when they start. This is intended to be used in combination
@@ -1254,7 +1254,7 @@
* two-finger scrolling is configured in libinput.
* https://dwm.suckless.org/patches/tapresize/
*/
-#define TAPRESIZE_PATCH 0
+#define TAPRESIZE_PATCH 1
/* This patch allows you to toggle fullscreen on and off using a single shortcut key.
* https://github.com/bakkeby/patches/blob/master/dwm/dwm-togglefullscreen-6.2.diff
|