Skip to content

Commit

Permalink
added tab patch
Browse files Browse the repository at this point in the history
  • Loading branch information
siduck76 committed Jul 26, 2021
1 parent 2ee6b7d commit aa15a63
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 7 deletions.
6 changes: 5 additions & 1 deletion chadwm/config.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails,display systray on the 1st monitor,False: display systray on last monitor*/
static const int showsystray = 1; /* 0 means no systray */
static const int showbar = 1; /* 0 means no bar */
enum showtab_modes { showtab_never, showtab_auto, showtab_nmodes, showtab_always };
static const int showtab = showtab_auto;
static const int toptab = False;
static const int topbar = 1; /* 0 means bottom bar */
static const int vertpad = 10; /* vertical padding of bar */
static const int sidepad = 10; /* horizontal padding of bar */
Expand Down Expand Up @@ -84,7 +87,6 @@ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen win

#define FORCE_VSPLIT 1 /* nrowgrid layout: force two clients to always split vertically */
#include "vanitygaps.c"

#include "movestack.c"
#include "tatami.c"

Expand Down Expand Up @@ -139,6 +141,7 @@ static Key keys[] = {
{0, XF86MonBrightnessDown, spawn, {.v = xd}},
{0, XF86MonBrightnessUp, spawn, {.v = xi}},
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY|ControlMask, XK_w, tabmode, { -1 } },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
Expand Down Expand Up @@ -233,4 +236,5 @@ static Button buttons[] = {
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
{ ClkTagBar, 0, Button1, focuswin, {0} },
};
Loading

0 comments on commit aa15a63

Please sign in to comment.