diff --git a/config.def.h b/config.def.h index 553d367..fdea74e 100644 --- a/config.def.h +++ b/config.def.h @@ -49,10 +49,16 @@ static const int toptab = False; /* False means b #if BAR_HEIGHT_PATCH static const int bar_height = 0; /* 0 means derive from font, >= 1 explicit height */ #endif // BAR_HEIGHT_PATCH + #if BAR_PADDING_PATCH static const int vertpad = 10; /* vertical padding of bar */ -static const int sidepad = 10; /* horizontal padding of bar */ +#ifdef VANITYGAPS_PATCH +static const int sidepad = gappov; /* horizontal padding of bar */ +#else +static const int sidepad = 30; +#endif /* VANITYGAPS_PATCH */ #endif // BAR_PADDING_PATCH + #if BAR_WINICON_PATCH #define ICONSIZE 20 /* icon size */ #define ICONSPACING 5 /* space between icon and title */ @@ -939,6 +945,7 @@ static Key keys[] = { #endif // INSETS_PATCH { MODKEY, XK_Return, zoom, {0} }, #if VANITYGAPS_PATCH + /* { MODKEY|Mod4Mask, XK_u, incrgaps, {.i = +1 } }, { MODKEY|Mod4Mask|ShiftMask, XK_u, incrgaps, {.i = -1 } }, { MODKEY|Mod4Mask, XK_i, incrigaps, {.i = +1 } }, @@ -955,6 +962,7 @@ static Key keys[] = { { MODKEY|Mod4Mask|ShiftMask, XK_9, incrovgaps, {.i = -1 } }, { MODKEY|Mod4Mask, XK_0, togglegaps, {0} }, { MODKEY|Mod4Mask|ShiftMask, XK_0, defaultgaps, {0} }, + */ #endif // VANITYGAPS_PATCH { MODKEY, XK_Tab, view, {0} }, #if SHIFTVIEW_PATCH diff --git a/patches.def.h b/patches.def.h index b35c4ed..43b9473 100644 --- a/patches.def.h +++ b/patches.def.h @@ -134,7 +134,7 @@ * This patch is incompatible with the extrabar patch. * https://dwm.suckless.org/patches/status2d/ */ -#define BAR_STATUS2D_PATCH 0 +#define BAR_STATUS2D_PATCH 1 /* Supplementary patch should you want to disable alpha for the status2d section */ #define BAR_STATUS2D_NO_ALPHA_PATCH 0 @@ -150,7 +150,7 @@ /* The systray patch adds systray for the status bar. * https://dwm.suckless.org/patches/systray/ */ -#define BAR_SYSTRAY_PATCH 0 +#define BAR_SYSTRAY_PATCH 1 /* Show tag symbols in the bar. */ #define BAR_TAGS_PATCH 1 @@ -345,7 +345,7 @@ /* This patch adds vertical and horizontal space between the statusbar and the edge of the screen. * https://dwm.suckless.org/patches/barpadding/ */ -#define BAR_PADDING_PATCH 0 +#define BAR_PADDING_PATCH 1 /* This patch adds simple markup for status messages using pango markup. * This depends on the pango library v1.44 or greater.