aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorRomain Gonçalves <commit@rgoncalves.se>2021-11-21 14:07:51 +0100
committerRomain Gonçalves <me@rgoncalves.se>2023-06-05 18:10:19 +0200
commita3f9a870cbc784a13ff79ddf43160b39b1915545 (patch)
treeb0233ec8e1ed1b6cc07cf1301563cd47e5b6922d /config.h
parent588af1a9d2c7c9b1bee46ede0fe2222a4579d558 (diff)
downloaddwm-a3f9a870cbc784a13ff79ddf43160b39b1915545.tar.gz
config.h: Add opinionated keybinds
Diffstat (limited to 'config.h')
-rw-r--r--config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/config.h b/config.h
index 912c561..1a21b95 100644
--- a/config.h
+++ b/config.h
@@ -62,18 +62,18 @@ static const char *termcmd[] = { "st", NULL };
static Key keys[] = {
/* modifier key function argument */
- { MODKEY, XK_p, spawn, {.v = dmenucmd } },
- { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY, XK_d, spawn, {.v = dmenucmd } },
+ { MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
- { MODKEY, XK_d, incnmaster, {.i = -1 } },
+ { MODKEY, XK_u, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
- { MODKEY, XK_Return, zoom, {0} },
+ { MODKEY|ShiftMask, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
- { MODKEY|ShiftMask, XK_c, killclient, {0} },
+ { MODKEY|ShiftMask, XK_q, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
@@ -94,7 +94,7 @@ static Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
- { MODKEY|ShiftMask, XK_q, quit, {0} },
+ { MODKEY|ShiftMask, XK_Delete, quit, {0} },
};
/* button definitions */
remember that computers suck.