aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-08-10 14:24:58 +0200
committerJoe <bousset.rudy@gmail.com>2022-08-10 14:24:58 +0200
commit87d2d299323eda454642617c71f4bd1517c5b5a0 (patch)
tree3377fa8cb56c6cb44c4f5817477d9be94c95eae5 /config.h
parentdwm+picom transparency fix (diff)
downloaddwm-87d2d299323eda454642617c71f4bd1517c5b5a0.tar.gz
dwm-87d2d299323eda454642617c71f4bd1517c5b5a0.tar.bz2
dwm-87d2d299323eda454642617c71f4bd1517c5b5a0.tar.xz
dwm-87d2d299323eda454642617c71f4bd1517c5b5a0.tar.zst
dwm-87d2d299323eda454642617c71f4bd1517c5b5a0.zip
gaps update
Diffstat (limited to 'config.h')
-rw-r--r--config.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/config.h b/config.h
index d2d0899..a6c11c3 100644
--- a/config.h
+++ b/config.h
@@ -1,7 +1,8 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const unsigned int borderpx = 2; /* border pixel of windows */
+static const unsigned int borderpx = 3; /* border pixel of windows */
+static const unsigned int gappx = 0; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 0; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
@@ -185,6 +186,11 @@ static Key keys[] = {
{ MODKEY|ControlMask, XK_bracketright, focusmon, {.i = -1 } },
{ MODKEY|ControlMask, XK_h, focusmon, {.i = +1 } },
{ MODKEY|ControlMask, XK_l, focusmon, {.i = -1 } },
+ { MODKEY, XK_w, movemouse, {0} },
+ { MODKEY|ShiftMask, XK_w, resizemouse, {0} },
+ { MODKEY, XK_minus, setgaps, {.i = -1 } },
+ { MODKEY, XK_equal, setgaps, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
@@ -196,7 +202,7 @@ static Key keys[] = {
TAGKEYS( XK_9, 8)
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
- { MODKEY|ShiftMask, XK_q, quit, {0} },
+ { MODKEY|ShiftMask, XK_e, quit, {0} },
};
/* button definitions */