[hackers] [dwm][PATCH 2/2] config.def.h: Add focusmon_n and tagmon_n

From: Brian C. Lane <bcl_AT_brianlane.com>
Date: Fri, 30 Oct 2020 16:52:05 -0700

MODKEY+[ selects monitor 0, MODKEY+] selects monitor 1
MODKEY+SHIFT moves windows to monitor 0 or 1
---
 config.def.h | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/config.def.h b/config.def.h
index 1c0b587..3afba87 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -82,8 +82,12 @@ static Key keys[] = {
 	{ MODKEY|ShiftMask,             XK_0,      tag,            {.ui = ~0 } },
 	{ MODKEY,                       XK_comma,  focusmon,       {.i = -1 } },
 	{ MODKEY,                       XK_period, focusmon,       {.i = +1 } },
+	{ MODKEY,                  XK_bracketleft, focusmon_n,     {.i = 0 } },
+	{ MODKEY,                 XK_bracketright, focusmon_n,     {.i = 1 } },
 	{ MODKEY|ShiftMask,             XK_comma,  tagmon,         {.i = -1 } },
 	{ MODKEY|ShiftMask,             XK_period, tagmon,         {.i = +1 } },
+	{ MODKEY|ShiftMask,        XK_bracketleft, tagmon_n,       {.i = 0 } },
+	{ MODKEY|ShiftMask,       XK_bracketright, tagmon_n,       {.i = 1 } },
 	TAGKEYS(                        XK_1,                      0)
 	TAGKEYS(                        XK_2,                      1)
 	TAGKEYS(                        XK_3,                      2)
-- 
2.28.0
Received on Sat Oct 31 2020 - 00:52:05 CET

This archive was generated by hypermail 2.3.0 : Sat Oct 31 2020 - 01:00:33 CET