From d8074c9a2d5ffd79d0fbdfd3325caa7f274d34f3 Mon Sep 17 00:00:00 2001 From: Alexis Jhon Gaspar Date: Sat, 7 Oct 2023 22:14:48 +0800 Subject: [PATCH] Replace awesomebar with flexwintitles --- dwm-flexipatch/config.def.h | 4 ++-- dwm-flexipatch/patches.def.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dwm-flexipatch/config.def.h b/dwm-flexipatch/config.def.h index c99d666..64d09db 100644 --- a/dwm-flexipatch/config.def.h +++ b/dwm-flexipatch/config.def.h @@ -639,10 +639,10 @@ static const BarRule barrules[] = { #endif // BAR_EXTRASTATUS_PATCH #if BAR_FLEXWINTITLE_PATCH #if BAR_WINTITLE_HIDDEN_PATCH - { -1, 1, BAR_ALIGN_RIGHT_RIGHT, width_wintitle_hidden, draw_wintitle_hidden, click_wintitle_hidden, NULL, "wintitle_hidden" }, + { -1, 1, BAR_ALIGN_RIGHT, width_wintitle_hidden, draw_wintitle_hidden, click_wintitle_hidden, NULL, "wintitle_hidden" }, #endif #if BAR_WINTITLE_FLOATING_PATCH - { -1, 1, BAR_ALIGN_LEFT, width_wintitle_floating, draw_wintitle_floating, click_wintitle_floating, NULL, "wintitle_floating" }, + { -1, 0, BAR_ALIGN_LEFT, width_wintitle_floating, draw_wintitle_floating, click_wintitle_floating, NULL, "wintitle_floating" }, #endif // BAR_WINTITLE_FLOATING_PATCH #endif // BAR_FLEXWINTITLE_PATCH }; diff --git a/dwm-flexipatch/patches.def.h b/dwm-flexipatch/patches.def.h index 38ad433..246afe4 100644 --- a/dwm-flexipatch/patches.def.h +++ b/dwm-flexipatch/patches.def.h @@ -201,7 +201,7 @@ #define BAR_WINICON_PATCH 1 /* Show window title in bar */ -#define BAR_WINTITLE_PATCH 1 +#define BAR_WINTITLE_PATCH 1 /* Shows window titles in the bar, but only for floating clients. * This depends on code from the flexwintitle patch. @@ -209,7 +209,7 @@ * with the corresponding hidden patch then these two will overlap unless the width of the * modules are controlled. */ -#define BAR_WINTITLE_FLOATING_PATCH 0 +#define BAR_WINTITLE_FLOATING_PATCH 0 /* Shows window titles in the bar, but only for floating clients. * This depends on code from the flexwintitle patch. @@ -217,7 +217,7 @@ * with the corresponding floating patch then these two will overlap unless the width of the * modules are controlled. */ -#define BAR_WINTITLE_HIDDEN_PATCH 0 +#define BAR_WINTITLE_HIDDEN_PATCH 0 /* Title bar modules such as wintitle (default), fancybar and awesomebar * do not by default add left and/or right padding as they take up the