sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

dwm-colemak_keys-20200907-61bb8b2.diff (2261B)


      1 From 4762fa3e13aca17818ed6fa6c7a71322c76be189 Mon Sep 17 00:00:00 2001
      2 From: runrin <run.rin@rin.run>
      3 Date: Mon, 7 Sep 2020 07:20:07 -0700
      4 Subject: [PATCH] hnei colemak keys; update man page to reflect changes
      5 
      6 ---
      7  config.def.h | 10 +++++-----
      8  dwm.1        | 10 +++++-----
      9  2 files changed, 10 insertions(+), 10 deletions(-)
     10 
     11 diff --git a/config.def.h b/config.def.h
     12 index 1c0b587..501fe4e 100644
     13 --- a/config.def.h
     14 +++ b/config.def.h
     15 @@ -64,12 +64,12 @@ static Key keys[] = {
     16  	{ MODKEY,                       XK_p,      spawn,          {.v = dmenucmd } },
     17  	{ MODKEY|ShiftMask,             XK_Return, spawn,          {.v = termcmd } },
     18  	{ MODKEY,                       XK_b,      togglebar,      {0} },
     19 -	{ MODKEY,                       XK_j,      focusstack,     {.i = +1 } },
     20 -	{ MODKEY,                       XK_k,      focusstack,     {.i = -1 } },
     21 -	{ MODKEY,                       XK_i,      incnmaster,     {.i = +1 } },
     22 -	{ MODKEY,                       XK_d,      incnmaster,     {.i = -1 } },
     23 +	{ MODKEY,                       XK_n,      focusstack,     {.i = +1 } },
     24 +	{ MODKEY,                       XK_e,      focusstack,     {.i = -1 } },
     25 +	{ MODKEY,                       XK_l,      incnmaster,     {.i = +1 } },
     26 +	{ MODKEY,                       XK_u,      incnmaster,     {.i = -1 } },
     27  	{ MODKEY,                       XK_h,      setmfact,       {.f = -0.05} },
     28 -	{ MODKEY,                       XK_l,      setmfact,       {.f = +0.05} },
     29 +	{ MODKEY,                       XK_i,      setmfact,       {.f = +0.05} },
     30  	{ MODKEY,                       XK_Return, zoom,           {0} },
     31  	{ MODKEY,                       XK_Tab,    view,           {0} },
     32  	{ MODKEY|ShiftMask,             XK_c,      killclient,     {0} },
     33 diff --git a/dwm.1 b/dwm.1
     34 index ddc8321..776cd13 100644
     35 --- a/dwm.1
     36 +++ b/dwm.1
     37 @@ -92,19 +92,19 @@ Sets monocle layout.
     38  .B Mod1\-space
     39  Toggles between current and previous layout.
     40  .TP
     41 -.B Mod1\-j
     42 +.B Mod1\-n
     43  Focus next window.
     44  .TP
     45 -.B Mod1\-k
     46 +.B Mod1\-e
     47  Focus previous window.
     48  .TP
     49 -.B Mod1\-i
     50 +.B Mod1\-l
     51  Increase number of windows in master area.
     52  .TP
     53 -.B Mod1\-d
     54 +.B Mod1\-u
     55  Decrease number of windows in master area.
     56  .TP
     57 -.B Mod1\-l
     58 +.B Mod1\-i
     59  Increase master area size.
     60  .TP
     61  .B Mod1\-h
     62 -- 
     63 2.28.0
     64