dwm

personal dwm configuration
git clone git://git.eonn.xyz/dwm.git
Log | Files | Refs | README | LICENSE

commit 5e84c316c2a585f79a0cd22da154d5aed9a7fada
parent 48ad5970fb6038579ea2162a43dc0ca2f650293b
Author: Ian Ressa <ian@eonn.xyz>
Date:   Wed, 30 Mar 2022 17:42:29 -0400

More emacs-like binds

Diffstat:
Mconfig.h | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/config.h b/config.h @@ -49,7 +49,7 @@ static const Layout layouts[] = { }; /* key definitions */ -#define MODKEY Mod4Mask +#define MODKEY Mod1Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ @@ -87,18 +87,18 @@ static Key keys[] = { { MODKEY, XK_End, spawn, {.v = lockscreen } }, { MODKEY, XK_Print, spawn, SHCMD("sleep 0.2; scrot -s '/home/ian/Pictures/screenshots/%Y-%m-%d_%wx_$h_scrot.png'") }, // wm - { MODKEY, XK_p, spawn, {.v = dmenucmd } }, + { MODKEY|ShiftMask, XK_1, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, - { MODKEY, XK_b, togglebar, {0} }, - { MODKEY, XK_j, focusstack, {.i = +1 } }, - { MODKEY, XK_k, focusstack, {.i = -1 } }, + { MODKEY, XK_l, togglebar, {0} }, + { MODKEY, XK_n, focusstack, {.i = +1 } }, + { MODKEY, XK_p, focusstack, {.i = -1 } }, { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_d, incnmaster, {.i = -1 } }, - { MODKEY, XK_h, setmfact, {.f = -0.05} }, - { MODKEY, XK_l, setmfact, {.f = +0.05} }, + { MODKEY|ShiftMask, XK_p, setmfact, {.f = -0.05} }, + { MODKEY|ShiftMask, XK_n, setmfact, {.f = +0.05} }, { MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, - { MODKEY|ShiftMask, XK_q, killclient, {0} }, + { MODKEY|ShiftMask, XK_k, killclient, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },