Replace awesomebar with flexwintitles

This commit is contained in:
Alexis Jhon Gaspar 2023-10-07 22:14:48 +08:00
parent 93c83df2b2
commit d8074c9a2d
2 changed files with 5 additions and 5 deletions

View file

@ -639,10 +639,10 @@ static const BarRule barrules[] = {
#endif // BAR_EXTRASTATUS_PATCH #endif // BAR_EXTRASTATUS_PATCH
#if BAR_FLEXWINTITLE_PATCH #if BAR_FLEXWINTITLE_PATCH
#if BAR_WINTITLE_HIDDEN_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 #endif
#if BAR_WINTITLE_FLOATING_PATCH #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_WINTITLE_FLOATING_PATCH
#endif // BAR_FLEXWINTITLE_PATCH #endif // BAR_FLEXWINTITLE_PATCH
}; };

View file

@ -201,7 +201,7 @@
#define BAR_WINICON_PATCH 1 #define BAR_WINICON_PATCH 1
/* Show window title in bar */ /* 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. /* Shows window titles in the bar, but only for floating clients.
* This depends on code from the flexwintitle patch. * 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 * with the corresponding hidden patch then these two will overlap unless the width of the
* modules are controlled. * 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. /* Shows window titles in the bar, but only for floating clients.
* This depends on code from the flexwintitle patch. * 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 * with the corresponding floating patch then these two will overlap unless the width of the
* modules are controlled. * 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 /* 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 * do not by default add left and/or right padding as they take up the