summaryrefslogtreecommitdiffhomepage
path: root/patches.def.h
diff options
context:
space:
mode:
authorStein Gunnar Bakkeby <[email protected]>2022-07-05 14:55:42 +0200
committerGitHub <[email protected]>2022-07-05 14:55:42 +0200
commit5f7df0b0dc78ae00f21d5bbe892456c450506b9b (patch)
tree73610f0475c0e5b7ef5a2017e11813908e769fcd /patches.def.h
parent20692bea017353bcaf069625bcf3bda6eed4ad51 (diff)
downloaddwm-flexipatch-5f7df0b0dc78ae00f21d5bbe892456c450506b9b.tar.gz
dwm-flexipatch-5f7df0b0dc78ae00f21d5bbe892456c450506b9b.zip
Adding tagpreview patch (#271)
Diffstat (limited to 'patches.def.h')
-rw-r--r--patches.def.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/patches.def.h b/patches.def.h
index 3f5a27f..eec95f9 100644
--- a/patches.def.h
+++ b/patches.def.h
@@ -115,6 +115,23 @@
*/
#define BAR_TAGGRID_PATCH 0
+/* Hover tag icons to see a preview of the windows on that tag.
+ *
+ * The patch depends on Imlib2 for icon scaling.
+ * You need to uncomment the corresponding line in config.mk to use the -lImlib2 library
+ *
+ * Arch Linux:
+ * sudo pacman -S imlib2
+ * Debian:
+ * sudo apt install libimlib2-dev
+ *
+ * As with the winicon patch you may want to consider adding the compiler flags of -O3 and
+ * -march=native to enable auto loop vectorize for better performance.
+ *
+ * https://dwm.suckless.org/patches/tag-previews/
+ */
+#define BAR_TAGPREVIEW_PATCH 0
+
/* Show status in bar */
#define BAR_STATUS_PATCH 1