summaryrefslogtreecommitdiffhomepage
path: root/patches.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-07-27 13:40:53 +0200
committerbakkeby <[email protected]>2021-07-27 13:40:53 +0200
commitf8ae6714db02a42856c07066f689136999f6ad77 (patch)
tree06a753cb58aa7ef3526afdf5d0325e2a520b5de9 /patches.def.h
parentd72bc90cdc231ebf71530d1cd17e63b5cdf8eb96 (diff)
downloaddwm-flexipatch-f8ae6714db02a42856c07066f689136999f6ad77.tar.gz
dwm-flexipatch-f8ae6714db02a42856c07066f689136999f6ad77.zip
Adding winicon patch
Diffstat (limited to 'patches.def.h')
-rw-r--r--patches.def.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches.def.h b/patches.def.h
index eb6e1ee..aaaf02a 100644
--- a/patches.def.h
+++ b/patches.def.h
@@ -155,6 +155,24 @@
/* Show tag symbols in bar */
#define BAR_TAGS_PATCH 1
+/* This patch adds the window icon next to the window title in the bar.
+ *
+ * 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
+ *
+ * The author recommends adding the compiler flags of -O3 and -march=native to enable auto loop
+ * vectorize for better performance.
+ *
+ * https://github.com/AdamYuan/dwm-winicon
+ * https://dwm.suckless.org/patches/winicon
+ */
+#define BAR_WINICON_PATCH 0
+
/* Show window title in bar */
#define BAR_WINTITLE_PATCH 1