aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornirav <nirav@airmail.cc>2020-06-11 07:30:42 +0000
committernirav <nirav@airmail.cc>2020-06-11 07:30:42 +0000
commit825d85572880ddec12bdfa9731b00cd1f7bd6e4c (patch)
tree55480d1c9868d3ec9f0ebd4f6dd0512ee93fa234
parent642f07b19e402390c6a59e78ed9d1a5ab1c806f1 (diff)
downloaddwm-825d85572880ddec12bdfa9731b00cd1f7bd6e4c.tar.gz
dwm-825d85572880ddec12bdfa9731b00cd1f7bd6e4c.zip
Update config
-rw-r--r--config.h7
-rw-r--r--config.mk4
2 files changed, 5 insertions, 6 deletions
diff --git a/config.h b/config.h
index ce83335..1c41d87 100644
--- a/config.h
+++ b/config.h
@@ -19,7 +19,7 @@ static const char *colors[][3] = {
};
/* tagging */
-static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" };
static const Rule rules[] = {
/* xprop(1):
@@ -27,7 +27,7 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
- NULL,
+ { NULL, NULL, NULL, 0, False, -1 },
};
/* layout(s) */
@@ -79,8 +79,6 @@ static Key keys[] = {
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
- { MODKEY, XK_0, view, {.ui = ~0 } },
- { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
@@ -94,6 +92,7 @@ static Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
+ TAGKEYS( XK_0, 9)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
{ MODKEY, XK_q, killclient, {0} },
{ MODKEY, XK_a, shiftview, {.i = -1} },
diff --git a/config.mk b/config.mk
index 2f07fd3..6d36cb7 100644
--- a/config.mk
+++ b/config.mk
@@ -11,8 +11,8 @@ X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# Xinerama, comment if you don't want it
-#XINERAMALIBS = -lXinerama
-#XINERAMAFLAGS = -DXINERAMA
+XINERAMALIBS = -lXinerama
+XINERAMAFLAGS = -DXINERAMA
# freetype
FREETYPELIBS = -lfontconfig -lXft