dwm

My fork of dwm.
git clone git://git.alex.balgavy.eu/dwm.git
Log | Files | Refs | README | LICENSE

commit 303228eb2fb6443ed16b01cb485646174a13e001
parent 87e9221f3e89f5e951006e847ff28d57c48bb2cd
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Tue, 20 Apr 2021 13:15:28 +0200

Change modifier to mod4

Diffstat:
Mconfig.h | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/config.h b/config.h @@ -69,7 +69,7 @@ static const Layout layouts[] = { }; /* key definitions */ -#define MODKEY Mod1Mask +#define MODKEY Mod4Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ @@ -147,7 +147,7 @@ static Key keys[] = { { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, // tile { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, // monocle { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, // spiral - { MODKEY, XK_s, setlayout, {.v = &layouts[5]} }, // bstack + { MODKEY, XK_s, setlayout, {.v = &layouts[5]} }, // bstack { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, @@ -165,7 +165,8 @@ static Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - { MODKEY|ShiftMask, XK_q, quit, {0} }, + { MODKEY|ShiftMask, XK_q, spawn, SHCMD("desktop-session-exit") } + /* { MODKEY|ShiftMask, XK_q, quit, {0} }, */ }; /* button definitions */