mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-16 23:46:13 +01:00
monocle tab switching
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
--- config.def.h
|
||||
+++ config.def.h
|
||||
@@ -41,6 +41,8 @@ static const Layout layouts[] = {
|
||||
{ "[]=", tile }, /* first entry is default */
|
||||
{ "><>", NULL }, /* no layout function means floating behavior */
|
||||
{ "[M]", monocle },
|
||||
+ { "TTT", bstack },
|
||||
+ { "===", bstackhoriz },
|
||||
};
|
||||
|
||||
/* key definitions */
|
||||
@@ -76,6 +78,8 @@ static Key keys[] = {
|
||||
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
|
||||
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
|
||||
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
|
||||
+ { MODKEY, XK_u, setlayout, {.v = &layouts[3]} },
|
||||
+ { MODKEY, XK_o, setlayout, {.v = &layouts[4]} },
|
||||
{ MODKEY, XK_space, setlayout, {0} },
|
||||
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
|
||||
{ MODKEY, XK_0, view, {.ui = ~0 } },
|
||||
--- config.def.h 2019-02-02 04:55:28.000000000 -0800
|
||||
+++ config.def.h 2019-07-12 11:40:50.530164308 -0700
|
||||
@@ -5,6 +5,13 @@ static const unsigned int borderpx = 1;
|
||||
static const unsigned int snap = 32; /* snap pixel */
|
||||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
+/* Display modes of the tab bar: never shown, always shown, shown only in */
|
||||
+/* monocle mode in the presence of several windows. */
|
||||
+/* Modes after showtab_nmodes are disabled. */
|
||||
+enum showtab_modes { showtab_never, showtab_auto, showtab_nmodes, showtab_always};
|
||||
+static const int showtab = showtab_auto; /* Default tab bar show mode */
|
||||
+static const int toptab = False; /* False means bottom tab bar */
|
||||
+
|
||||
static const char *fonts[] = { "monospace:size=10" };
|
||||
static const char dmenufont[] = "monospace:size=10";
|
||||
static const char col_gray1[] = "#222222";
|
||||
|
||||
Reference in New Issue
Block a user