aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2025-05-11 10:34:07 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2025-05-11 10:34:07 +0530
commitee458a26fe47c1dd7b800b2c30af497437b69e6f (patch)
tree120afe9a0c5d8bb106856f225403d29fa8f089fe /config.def.h
parent30b203af5d6f35c5f94fb3a65845432cde014347 (diff)
patched dwm-gaplessgrid-20160731-56a31dc.diff
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 604be99..1a74307 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,8 +1,15 @@
+#include "gaplessgrid.c"
+
static const unsigned int borderpx = 2;
static const unsigned int snap = 32;
static const int showbar = 1;
static const int topbar = 1;
-static const char *barlayout = "sn|lt";
+
+// disabled because it messes up clickable areas
+// TODO: gotta fix
+// static const char *barlayout = "sn|lt";
+static const char *barlayout = "";
+
static const int user_bh = 30;
static const char *fonts[] = { "Noto Sans CJK JP:size=14" };
static const unsigned int gappx = 8;
@@ -34,6 +41,7 @@ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen win
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
+ { "###", gaplessgrid }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
};
@@ -89,8 +97,9 @@ static const Key keys[] = {
/* layouts */
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
- { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
- { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
+ { MODKEY|ShiftMask, XK_g, setlayout, {.v = &layouts[1]} },
+ { MODKEY, XK_f, setlayout, {.v = &layouts[2]} },
+ { MODKEY, XK_m, setlayout, {.v = &layouts[3]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },