From f8ae6714db02a42856c07066f689136999f6ad77 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Tue, 27 Jul 2021 13:40:53 +0200 Subject: Adding winicon patch --- patches.def.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'patches.def.h') 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 -- cgit v1.2.3