commit ec8ff8b83c9b306cc36ab04490c6c6c405b8321d
parent ebe221aa143ed7e7a75183f2560d099443d84feb
Author: Cori Barker <coribarker2@gmail.com>
Date: Mon, 2 Feb 2026 18:41:34 +0000
Patched in xlock with selected modes
Diffstat:
10 files changed, 1972 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1 @@
+.xinitrc
diff --git a/dmenu/dmenu.o b/dmenu/dmenu.o
Binary files differ.
diff --git a/dmenu/drw.o b/dmenu/drw.o
Binary files differ.
diff --git a/dmenu/stest.o b/dmenu/stest.o
Binary files differ.
diff --git a/dmenu/util.o b/dmenu/util.o
Binary files differ.
diff --git a/dwm/build.log b/dwm/build.log
@@ -0,0 +1,1950 @@
+cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"6.8\" -DXINERAMA dwm.c
+In file included from dwm.c:273:
+config.h:30:9: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic]
+ 30 | { },
+ | ^
+config.h:70:9: error: extra brace group at end of initializer
+ 70 | { MODKEY, XK_g, spawn, {.v = webcmd } },
+ | ^
+config.h:70:9: note: (near initialization for 'keys[1]')
+config.h:70:68: error: extra brace group at end of initializer
+ 70 | { MODKEY, XK_g, spawn, {.v = webcmd } },
+ | ^
+config.h:70:68: note: (near initialization for 'keys[1]')
+config.h:70:9: warning: excess elements in struct initializer
+ 70 | { MODKEY, XK_g, spawn, {.v = webcmd } },
+ | ^
+config.h:70:9: note: (near initialization for 'keys[1]')
+config.h:71:9: error: extra brace group at end of initializer
+ 71 | { MODKEY|ShiftMask, XK_x, spawn, {.v = lockcmd } },
+ | ^
+config.h:71:9: note: (near initialization for 'keys[1]')
+config.h:71:68: error: extra brace group at end of initializer
+ 71 | { MODKEY|ShiftMask, XK_x, spawn, {.v = lockcmd } },
+ | ^
+config.h:71:68: note: (near initialization for 'keys[1]')
+config.h:71:9: warning: excess elements in struct initializer
+ 71 | { MODKEY|ShiftMask, XK_x, spawn, {.v = lockcmd } },
+ | ^
+config.h:71:9: note: (near initialization for 'keys[1]')
+config.h:72:9: error: extra brace group at end of initializer
+ 72 | { MODKEY, XK_b, togglebar, {0} },
+ | ^
+config.h:72:9: note: (near initialization for 'keys[1]')
+config.h:72:68: error: extra brace group at end of initializer
+ 72 | { MODKEY, XK_b, togglebar, {0} },
+ | ^
+config.h:72:68: note: (near initialization for 'keys[1]')
+config.h:72:9: warning: excess elements in struct initializer
+ 72 | { MODKEY, XK_b, togglebar, {0} },
+ | ^
+config.h:72:9: note: (near initialization for 'keys[1]')
+config.h:73:9: error: extra brace group at end of initializer
+ 73 | { MODKEY, XK_j, focusstack, {.i = +1 } },
+ | ^
+config.h:73:9: note: (near initialization for 'keys[1]')
+config.h:73:68: error: extra brace group at end of initializer
+ 73 | { MODKEY, XK_j, focusstack, {.i = +1 } },
+ | ^
+config.h:73:68: note: (near initialization for 'keys[1]')
+config.h:73:9: warning: excess elements in struct initializer
+ 73 | { MODKEY, XK_j, focusstack, {.i = +1 } },
+ | ^
+config.h:73:9: note: (near initialization for 'keys[1]')
+config.h:74:9: error: extra brace group at end of initializer
+ 74 | { MODKEY, XK_k, focusstack, {.i = -1 } },
+ | ^
+config.h:74:9: note: (near initialization for 'keys[1]')
+config.h:74:68: error: extra brace group at end of initializer
+ 74 | { MODKEY, XK_k, focusstack, {.i = -1 } },
+ | ^
+config.h:74:68: note: (near initialization for 'keys[1]')
+config.h:74:9: warning: excess elements in struct initializer
+ 74 | { MODKEY, XK_k, focusstack, {.i = -1 } },
+ | ^
+config.h:74:9: note: (near initialization for 'keys[1]')
+config.h:75:9: error: extra brace group at end of initializer
+ 75 | { MODKEY, XK_i, incnmaster, {.i = +1 } },
+ | ^
+config.h:75:9: note: (near initialization for 'keys[1]')
+config.h:75:68: error: extra brace group at end of initializer
+ 75 | { MODKEY, XK_i, incnmaster, {.i = +1 } },
+ | ^
+config.h:75:68: note: (near initialization for 'keys[1]')
+config.h:75:9: warning: excess elements in struct initializer
+ 75 | { MODKEY, XK_i, incnmaster, {.i = +1 } },
+ | ^
+config.h:75:9: note: (near initialization for 'keys[1]')
+config.h:76:9: error: extra brace group at end of initializer
+ 76 | { MODKEY, XK_o, incnmaster, {.i = -1 } },
+ | ^
+config.h:76:9: note: (near initialization for 'keys[1]')
+config.h:76:68: error: extra brace group at end of initializer
+ 76 | { MODKEY, XK_o, incnmaster, {.i = -1 } },
+ | ^
+config.h:76:68: note: (near initialization for 'keys[1]')
+config.h:76:9: warning: excess elements in struct initializer
+ 76 | { MODKEY, XK_o, incnmaster, {.i = -1 } },
+ | ^
+config.h:76:9: note: (near initialization for 'keys[1]')
+config.h:77:9: error: extra brace group at end of initializer
+ 77 | { MODKEY, XK_h, setmfact, {.f = -0.05} },
+ | ^
+config.h:77:9: note: (near initialization for 'keys[1]')
+config.h:77:68: error: extra brace group at end of initializer
+ 77 | { MODKEY, XK_h, setmfact, {.f = -0.05} },
+ | ^
+config.h:77:68: note: (near initialization for 'keys[1]')
+config.h:77:9: warning: excess elements in struct initializer
+ 77 | { MODKEY, XK_h, setmfact, {.f = -0.05} },
+ | ^
+config.h:77:9: note: (near initialization for 'keys[1]')
+config.h:78:9: error: extra brace group at end of initializer
+ 78 | { MODKEY, XK_l, setmfact, {.f = +0.05} },
+ | ^
+config.h:78:9: note: (near initialization for 'keys[1]')
+config.h:78:68: error: extra brace group at end of initializer
+ 78 | { MODKEY, XK_l, setmfact, {.f = +0.05} },
+ | ^
+config.h:78:68: note: (near initialization for 'keys[1]')
+config.h:78:9: warning: excess elements in struct initializer
+ 78 | { MODKEY, XK_l, setmfact, {.f = +0.05} },
+ | ^
+config.h:78:9: note: (near initialization for 'keys[1]')
+config.h:79:9: error: extra brace group at end of initializer
+ 79 | { MODKEY|ShiftMask, XK_Return, zoom, {0} },
+ | ^
+config.h:79:9: note: (near initialization for 'keys[1]')
+config.h:79:68: error: extra brace group at end of initializer
+ 79 | { MODKEY|ShiftMask, XK_Return, zoom, {0} },
+ | ^
+config.h:79:68: note: (near initialization for 'keys[1]')
+config.h:79:9: warning: excess elements in struct initializer
+ 79 | { MODKEY|ShiftMask, XK_Return, zoom, {0} },
+ | ^
+config.h:79:9: note: (near initialization for 'keys[1]')
+config.h:80:9: error: extra brace group at end of initializer
+ 80 | { MODKEY, XK_Tab, view, {0} },
+ | ^
+config.h:80:9: note: (near initialization for 'keys[1]')
+config.h:80:68: error: extra brace group at end of initializer
+ 80 | { MODKEY, XK_Tab, view, {0} },
+ | ^
+config.h:80:68: note: (near initialization for 'keys[1]')
+config.h:80:9: warning: excess elements in struct initializer
+ 80 | { MODKEY, XK_Tab, view, {0} },
+ | ^
+config.h:80:9: note: (near initialization for 'keys[1]')
+config.h:81:9: error: extra brace group at end of initializer
+ 81 | { MODKEY, XK_q, killclient, {0} },
+ | ^
+config.h:81:9: note: (near initialization for 'keys[1]')
+config.h:81:68: error: extra brace group at end of initializer
+ 81 | { MODKEY, XK_q, killclient, {0} },
+ | ^
+config.h:81:68: note: (near initialization for 'keys[1]')
+config.h:81:9: warning: excess elements in struct initializer
+ 81 | { MODKEY, XK_q, killclient, {0} },
+ | ^
+config.h:81:9: note: (near initialization for 'keys[1]')
+config.h:82:9: error: extra brace group at end of initializer
+ 82 | { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
+ | ^
+config.h:82:9: note: (near initialization for 'keys[1]')
+config.h:82:68: error: extra brace group at end of initializer
+ 82 | { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
+ | ^
+config.h:82:68: note: (near initialization for 'keys[1]')
+config.h:82:9: warning: excess elements in struct initializer
+ 82 | { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
+ | ^
+config.h:82:9: note: (near initialization for 'keys[1]')
+config.h:83:9: error: extra brace group at end of initializer
+ 83 | { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
+ | ^
+config.h:83:9: note: (near initialization for 'keys[1]')
+config.h:83:68: error: extra brace group at end of initializer
+ 83 | { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
+ | ^
+config.h:83:68: note: (near initialization for 'keys[1]')
+config.h:83:9: warning: excess elements in struct initializer
+ 83 | { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
+ | ^
+config.h:83:9: note: (near initialization for 'keys[1]')
+config.h:84:9: error: extra brace group at end of initializer
+ 84 | { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
+ | ^
+config.h:84:9: note: (near initialization for 'keys[1]')
+config.h:84:68: error: extra brace group at end of initializer
+ 84 | { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
+ | ^
+config.h:84:68: note: (near initialization for 'keys[1]')
+config.h:84:9: warning: excess elements in struct initializer
+ 84 | { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
+ | ^
+config.h:84:9: note: (near initialization for 'keys[1]')
+config.h:85:9: error: extra brace group at end of initializer
+ 85 | { MODKEY, XK_space, setlayout, {0} },
+ | ^
+config.h:85:9: note: (near initialization for 'keys[1]')
+config.h:85:68: error: extra brace group at end of initializer
+ 85 | { MODKEY, XK_space, setlayout, {0} },
+ | ^
+config.h:85:68: note: (near initialization for 'keys[1]')
+config.h:85:9: warning: excess elements in struct initializer
+ 85 | { MODKEY, XK_space, setlayout, {0} },
+ | ^
+config.h:85:9: note: (near initialization for 'keys[1]')
+config.h:86:9: error: extra brace group at end of initializer
+ 86 | { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
+ | ^
+config.h:86:9: note: (near initialization for 'keys[1]')
+config.h:86:68: error: extra brace group at end of initializer
+ 86 | { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
+ | ^
+config.h:86:68: note: (near initialization for 'keys[1]')
+config.h:86:9: warning: excess elements in struct initializer
+ 86 | { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
+ | ^
+config.h:86:9: note: (near initialization for 'keys[1]')
+config.h:87:9: error: extra brace group at end of initializer
+ 87 | { MODKEY, XK_0, view, {.ui = ~0 } },
+ | ^
+config.h:87:9: note: (near initialization for 'keys[1]')
+config.h:87:68: error: extra brace group at end of initializer
+ 87 | { MODKEY, XK_0, view, {.ui = ~0 } },
+ | ^
+config.h:87:68: note: (near initialization for 'keys[1]')
+config.h:87:9: warning: excess elements in struct initializer
+ 87 | { MODKEY, XK_0, view, {.ui = ~0 } },
+ | ^
+config.h:87:9: note: (near initialization for 'keys[1]')
+config.h:88:9: error: extra brace group at end of initializer
+ 88 | { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
+ | ^
+config.h:88:9: note: (near initialization for 'keys[1]')
+config.h:88:68: error: extra brace group at end of initializer
+ 88 | { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
+ | ^
+config.h:88:68: note: (near initialization for 'keys[1]')
+config.h:88:9: warning: excess elements in struct initializer
+ 88 | { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
+ | ^
+config.h:88:9: note: (near initialization for 'keys[1]')
+config.h:89:9: error: extra brace group at end of initializer
+ 89 | { MODKEY, XK_comma, focusmon, {.i = -1 } },
+ | ^
+config.h:89:9: note: (near initialization for 'keys[1]')
+config.h:89:68: error: extra brace group at end of initializer
+ 89 | { MODKEY, XK_comma, focusmon, {.i = -1 } },
+ | ^
+config.h:89:68: note: (near initialization for 'keys[1]')
+config.h:89:9: warning: excess elements in struct initializer
+ 89 | { MODKEY, XK_comma, focusmon, {.i = -1 } },
+ | ^
+config.h:89:9: note: (near initialization for 'keys[1]')
+config.h:90:9: error: extra brace group at end of initializer
+ 90 | { MODKEY, XK_period, focusmon, {.i = +1 } },
+ | ^
+config.h:90:9: note: (near initialization for 'keys[1]')
+config.h:90:68: error: extra brace group at end of initializer
+ 90 | { MODKEY, XK_period, focusmon, {.i = +1 } },
+ | ^
+config.h:90:68: note: (near initialization for 'keys[1]')
+config.h:90:9: warning: excess elements in struct initializer
+ 90 | { MODKEY, XK_period, focusmon, {.i = +1 } },
+ | ^
+config.h:90:9: note: (near initialization for 'keys[1]')
+config.h:91:9: error: extra brace group at end of initializer
+ 91 | { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
+ | ^
+config.h:91:9: note: (near initialization for 'keys[1]')
+config.h:91:68: error: extra brace group at end of initializer
+ 91 | { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
+ | ^
+config.h:91:68: note: (near initialization for 'keys[1]')
+config.h:91:9: warning: excess elements in struct initializer
+ 91 | { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
+ | ^
+config.h:91:9: note: (near initialization for 'keys[1]')
+config.h:92:9: error: extra brace group at end of initializer
+ 92 | { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ | ^
+config.h:92:9: note: (near initialization for 'keys[1]')
+config.h:92:68: error: extra brace group at end of initializer
+ 92 | { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ | ^
+config.h:92:68: note: (near initialization for 'keys[1]')
+config.h:92:9: warning: excess elements in struct initializer
+ 92 | { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ | ^
+config.h:92:9: note: (near initialization for 'keys[1]')
+config.h:50:9: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:50:67: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:50:67: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:50:9: warning: excess elements in struct initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:51:9: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:51:67: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:51:67: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:51:9: warning: excess elements in struct initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:52:9: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:52:67: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:52:67: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:52:9: warning: excess elements in struct initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:53:9: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:53:67: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:53:67: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:53:9: warning: excess elements in struct initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:93:9: note: in expansion of macro 'TAGKEYS'
+ 93 | TAGKEYS( XK_1, 0)
+ | ^~~~~~~
+config.h:50:9: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:50:67: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:50:67: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:50:9: warning: excess elements in struct initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:51:9: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:51:67: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:51:67: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:51:9: warning: excess elements in struct initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:52:9: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:52:67: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:52:67: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:52:9: warning: excess elements in struct initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:53:9: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:53:67: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:53:67: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:53:9: warning: excess elements in struct initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:94:9: note: in expansion of macro 'TAGKEYS'
+ 94 | TAGKEYS( XK_2, 1)
+ | ^~~~~~~
+config.h:50:9: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:50:67: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:50:67: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:50:9: warning: excess elements in struct initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:51:9: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:51:67: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:51:67: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:51:9: warning: excess elements in struct initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:52:9: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:52:67: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:52:67: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:52:9: warning: excess elements in struct initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:53:9: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:53:67: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:53:67: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:53:9: warning: excess elements in struct initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:95:9: note: in expansion of macro 'TAGKEYS'
+ 95 | TAGKEYS( XK_3, 2)
+ | ^~~~~~~
+config.h:50:9: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:50:67: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:50:67: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:50:9: warning: excess elements in struct initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:51:9: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:51:67: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:51:67: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:51:9: warning: excess elements in struct initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:52:9: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:52:67: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:52:67: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:52:9: warning: excess elements in struct initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:53:9: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:53:67: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:53:67: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:53:9: warning: excess elements in struct initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:96:9: note: in expansion of macro 'TAGKEYS'
+ 96 | TAGKEYS( XK_4, 3)
+ | ^~~~~~~
+config.h:50:9: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:50:67: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:50:67: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:50:9: warning: excess elements in struct initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:51:9: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:51:67: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:51:67: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:51:9: warning: excess elements in struct initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:52:9: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:52:67: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:52:67: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:52:9: warning: excess elements in struct initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:53:9: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:53:67: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:53:67: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:53:9: warning: excess elements in struct initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:97:9: note: in expansion of macro 'TAGKEYS'
+ 97 | TAGKEYS( XK_5, 4)
+ | ^~~~~~~
+config.h:50:9: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:50:67: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:50:67: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:50:9: warning: excess elements in struct initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:51:9: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:51:67: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:51:67: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:51:9: warning: excess elements in struct initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:52:9: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:52:67: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:52:67: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:52:9: warning: excess elements in struct initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:53:9: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:53:67: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:53:67: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:53:9: warning: excess elements in struct initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:98:9: note: in expansion of macro 'TAGKEYS'
+ 98 | TAGKEYS( XK_6, 5)
+ | ^~~~~~~
+config.h:50:9: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:50:67: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:50:67: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:50:9: warning: excess elements in struct initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:51:9: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:51:67: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:51:67: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:51:9: warning: excess elements in struct initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:52:9: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:52:67: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:52:67: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:52:9: warning: excess elements in struct initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:53:9: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:53:67: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:53:67: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:53:9: warning: excess elements in struct initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:99:9: note: in expansion of macro 'TAGKEYS'
+ 99 | TAGKEYS( XK_7, 6)
+ | ^~~~~~~
+config.h:50:9: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:50:67: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:50:67: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:50:9: warning: excess elements in struct initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:51:9: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:51:67: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:51:67: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:51:9: warning: excess elements in struct initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:52:9: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:52:67: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:52:67: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:52:9: warning: excess elements in struct initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:53:9: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:53:67: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:53:67: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:53:9: warning: excess elements in struct initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:100:9: note: in expansion of macro 'TAGKEYS'
+ 100 | TAGKEYS( XK_8, 7)
+ | ^~~~~~~
+config.h:50:9: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:50:67: error: extra brace group at end of initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:50:67: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:50:9: warning: excess elements in struct initializer
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:50:9: note: (near initialization for 'keys[1]')
+ 50 | { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:51:9: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:51:67: error: extra brace group at end of initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:51:67: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:51:9: warning: excess elements in struct initializer
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:51:9: note: (near initialization for 'keys[1]')
+ 51 | { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:52:9: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:52:67: error: extra brace group at end of initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:52:67: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:52:9: warning: excess elements in struct initializer
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:52:9: note: (near initialization for 'keys[1]')
+ 52 | { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:53:9: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:53:67: error: extra brace group at end of initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:53:67: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:53:9: warning: excess elements in struct initializer
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:53:9: note: (near initialization for 'keys[1]')
+ 53 | { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+ | ^
+config.h:101:9: note: in expansion of macro 'TAGKEYS'
+ 101 | TAGKEYS( XK_9, 8)
+ | ^~~~~~~
+config.h:102:9: error: extra brace group at end of initializer
+ 102 | { MODKEY|ShiftMask, XK_q, quit, {0} },
+ | ^
+config.h:102:9: note: (near initialization for 'keys[1]')
+config.h:102:68: error: extra brace group at end of initializer
+ 102 | { MODKEY|ShiftMask, XK_q, quit, {0} },
+ | ^
+config.h:102:68: note: (near initialization for 'keys[1]')
+config.h:102:9: warning: excess elements in struct initializer
+ 102 | { MODKEY|ShiftMask, XK_q, quit, {0} },
+ | ^
+config.h:102:9: note: (near initialization for 'keys[1]')
+config.h:103:2: error: expected '}' before ';' token
+ 103 | };
+ | ^
+config.h:66:27: note: to match this '{'
+ 66 | static const Key keys[] = {
+ | ^
+dwm.c:145:13: warning: 'spawnlock' used but never defined
+ 145 | static void spawnlock(const Arg *arg);
+ | ^~~~~~~~~
+dwm.c:146:13: warning: 'applyrules' declared 'static' but never defined [-Wunused-function]
+ 146 | static void applyrules(Client *c);
+ | ^~~~~~~~~~
+dwm.c:147:12: warning: 'applysizehints' declared 'static' but never defined [-Wunused-function]
+ 147 | static int applysizehints(Client *c, int *x, int *y, int *w, int *h, int interact);
+ | ^~~~~~~~~~~~~~
+dwm.c:148:13: warning: 'arrange' declared 'static' but never defined [-Wunused-function]
+ 148 | static void arrange(Monitor *m);
+ | ^~~~~~~
+dwm.c:149:13: warning: 'arrangemon' declared 'static' but never defined [-Wunused-function]
+ 149 | static void arrangemon(Monitor *m);
+ | ^~~~~~~~~~
+dwm.c:150:13: warning: 'attach' declared 'static' but never defined [-Wunused-function]
+ 150 | static void attach(Client *c);
+ | ^~~~~~
+dwm.c:151:13: warning: 'attachstack' declared 'static' but never defined [-Wunused-function]
+ 151 | static void attachstack(Client *c);
+ | ^~~~~~~~~~~
+dwm.c:152:13: warning: 'buttonpress' used but never defined
+ 152 | static void buttonpress(XEvent *e);
+ | ^~~~~~~~~~~
+dwm.c:153:13: warning: 'checkotherwm' declared 'static' but never defined [-Wunused-function]
+ 153 | static void checkotherwm(void);
+ | ^~~~~~~~~~~~
+dwm.c:154:13: warning: 'cleanup' declared 'static' but never defined [-Wunused-function]
+ 154 | static void cleanup(void);
+ | ^~~~~~~
+dwm.c:155:13: warning: 'cleanupmon' declared 'static' but never defined [-Wunused-function]
+ 155 | static void cleanupmon(Monitor *mon);
+ | ^~~~~~~~~~
+dwm.c:156:13: warning: 'clientmessage' used but never defined
+ 156 | static void clientmessage(XEvent *e);
+ | ^~~~~~~~~~~~~
+dwm.c:157:13: warning: 'configure' declared 'static' but never defined [-Wunused-function]
+ 157 | static void configure(Client *c);
+ | ^~~~~~~~~
+dwm.c:158:13: warning: 'configurenotify' used but never defined
+ 158 | static void configurenotify(XEvent *e);
+ | ^~~~~~~~~~~~~~~
+dwm.c:159:13: warning: 'configurerequest' used but never defined
+ 159 | static void configurerequest(XEvent *e);
+ | ^~~~~~~~~~~~~~~~
+dwm.c:160:17: warning: 'createmon' declared 'static' but never defined [-Wunused-function]
+ 160 | static Monitor *createmon(void);
+ | ^~~~~~~~~
+dwm.c:161:13: warning: 'destroynotify' used but never defined
+ 161 | static void destroynotify(XEvent *e);
+ | ^~~~~~~~~~~~~
+dwm.c:162:13: warning: 'detach' declared 'static' but never defined [-Wunused-function]
+ 162 | static void detach(Client *c);
+ | ^~~~~~
+dwm.c:163:13: warning: 'detachstack' declared 'static' but never defined [-Wunused-function]
+ 163 | static void detachstack(Client *c);
+ | ^~~~~~~~~~~
+dwm.c:164:17: warning: 'dirtomon' declared 'static' but never defined [-Wunused-function]
+ 164 | static Monitor *dirtomon(int dir);
+ | ^~~~~~~~
+dwm.c:165:13: warning: 'drawbar' declared 'static' but never defined [-Wunused-function]
+ 165 | static void drawbar(Monitor *m);
+ | ^~~~~~~
+dwm.c:166:13: warning: 'drawbars' declared 'static' but never defined [-Wunused-function]
+ 166 | static void drawbars(void);
+ | ^~~~~~~~
+dwm.c:167:13: warning: 'enternotify' used but never defined
+ 167 | static void enternotify(XEvent *e);
+ | ^~~~~~~~~~~
+dwm.c:168:13: warning: 'expose' used but never defined
+ 168 | static void expose(XEvent *e);
+ | ^~~~~~
+dwm.c:169:13: warning: 'focus' declared 'static' but never defined [-Wunused-function]
+ 169 | static void focus(Client *c);
+ | ^~~~~
+dwm.c:170:13: warning: 'focusin' used but never defined
+ 170 | static void focusin(XEvent *e);
+ | ^~~~~~~
+dwm.c:171:13: warning: 'focusmon' used but never defined
+ 171 | static void focusmon(const Arg *arg);
+ | ^~~~~~~~
+dwm.c:172:13: warning: 'focusstack' used but never defined
+ 172 | static void focusstack(const Arg *arg);
+ | ^~~~~~~~~~
+dwm.c:173:13: warning: 'getatomprop' declared 'static' but never defined [-Wunused-function]
+ 173 | static Atom getatomprop(Client *c, Atom prop);
+ | ^~~~~~~~~~~
+dwm.c:174:12: warning: 'getrootptr' declared 'static' but never defined [-Wunused-function]
+ 174 | static int getrootptr(int *x, int *y);
+ | ^~~~~~~~~~
+dwm.c:175:13: warning: 'getstate' declared 'static' but never defined [-Wunused-function]
+ 175 | static long getstate(Window w);
+ | ^~~~~~~~
+dwm.c:176:12: warning: 'gettextprop' declared 'static' but never defined [-Wunused-function]
+ 176 | static int gettextprop(Window w, Atom atom, char *text, unsigned int size);
+ | ^~~~~~~~~~~
+dwm.c:177:13: warning: 'grabbuttons' declared 'static' but never defined [-Wunused-function]
+ 177 | static void grabbuttons(Client *c, int focused);
+ | ^~~~~~~~~~~
+dwm.c:178:13: warning: 'grabkeys' declared 'static' but never defined [-Wunused-function]
+ 178 | static void grabkeys(void);
+ | ^~~~~~~~
+dwm.c:179:13: warning: 'incnmaster' used but never defined
+ 179 | static void incnmaster(const Arg *arg);
+ | ^~~~~~~~~~
+dwm.c:180:13: warning: 'keypress' used but never defined
+ 180 | static void keypress(XEvent *e);
+ | ^~~~~~~~
+dwm.c:181:13: warning: 'killclient' used but never defined
+ 181 | static void killclient(const Arg *arg);
+ | ^~~~~~~~~~
+dwm.c:182:13: warning: 'manage' declared 'static' but never defined [-Wunused-function]
+ 182 | static void manage(Window w, XWindowAttributes *wa);
+ | ^~~~~~
+dwm.c:183:13: warning: 'mappingnotify' used but never defined
+ 183 | static void mappingnotify(XEvent *e);
+ | ^~~~~~~~~~~~~
+dwm.c:184:13: warning: 'maprequest' used but never defined
+ 184 | static void maprequest(XEvent *e);
+ | ^~~~~~~~~~
+dwm.c:185:13: warning: 'monocle' used but never defined
+ 185 | static void monocle(Monitor *m);
+ | ^~~~~~~
+dwm.c:186:13: warning: 'motionnotify' used but never defined
+ 186 | static void motionnotify(XEvent *e);
+ | ^~~~~~~~~~~~
+dwm.c:187:13: warning: 'movemouse' declared 'static' but never defined [-Wunused-function]
+ 187 | static void movemouse(const Arg *arg);
+ | ^~~~~~~~~
+dwm.c:188:16: warning: 'nexttiled' declared 'static' but never defined [-Wunused-function]
+ 188 | static Client *nexttiled(Client *c);
+ | ^~~~~~~~~
+dwm.c:189:13: warning: 'pop' declared 'static' but never defined [-Wunused-function]
+ 189 | static void pop(Client *c);
+ | ^~~
+dwm.c:190:13: warning: 'propertynotify' used but never defined
+ 190 | static void propertynotify(XEvent *e);
+ | ^~~~~~~~~~~~~~
+dwm.c:191:13: warning: 'quit' used but never defined
+ 191 | static void quit(const Arg *arg);
+ | ^~~~
+dwm.c:192:17: warning: 'recttomon' declared 'static' but never defined [-Wunused-function]
+ 192 | static Monitor *recttomon(int x, int y, int w, int h);
+ | ^~~~~~~~~
+dwm.c:193:13: warning: 'resize' declared 'static' but never defined [-Wunused-function]
+ 193 | static void resize(Client *c, int x, int y, int w, int h, int interact);
+ | ^~~~~~
+dwm.c:194:13: warning: 'resizeclient' declared 'static' but never defined [-Wunused-function]
+ 194 | static void resizeclient(Client *c, int x, int y, int w, int h);
+ | ^~~~~~~~~~~~
+dwm.c:195:13: warning: 'resizemouse' declared 'static' but never defined [-Wunused-function]
+ 195 | static void resizemouse(const Arg *arg);
+ | ^~~~~~~~~~~
+dwm.c:196:13: warning: 'restack' declared 'static' but never defined [-Wunused-function]
+ 196 | static void restack(Monitor *m);
+ | ^~~~~~~
+dwm.c:197:13: warning: 'run' declared 'static' but never defined [-Wunused-function]
+ 197 | static void run(void);
+ | ^~~
+dwm.c:198:13: warning: 'scan' declared 'static' but never defined [-Wunused-function]
+ 198 | static void scan(void);
+ | ^~~~
+dwm.c:199:12: warning: 'sendevent' declared 'static' but never defined [-Wunused-function]
+ 199 | static int sendevent(Client *c, Atom proto);
+ | ^~~~~~~~~
+dwm.c:200:13: warning: 'sendmon' declared 'static' but never defined [-Wunused-function]
+ 200 | static void sendmon(Client *c, Monitor *m);
+ | ^~~~~~~
+dwm.c:201:13: warning: 'setclientstate' declared 'static' but never defined [-Wunused-function]
+ 201 | static void setclientstate(Client *c, long state);
+ | ^~~~~~~~~~~~~~
+dwm.c:202:13: warning: 'setfocus' declared 'static' but never defined [-Wunused-function]
+ 202 | static void setfocus(Client *c);
+ | ^~~~~~~~
+dwm.c:203:13: warning: 'setfullscreen' declared 'static' but never defined [-Wunused-function]
+ 203 | static void setfullscreen(Client *c, int fullscreen);
+ | ^~~~~~~~~~~~~
+dwm.c:204:13: warning: 'setlayout' used but never defined
+ 204 | static void setlayout(const Arg *arg);
+ | ^~~~~~~~~
+dwm.c:205:13: warning: 'setmfact' used but never defined
+ 205 | static void setmfact(const Arg *arg);
+ | ^~~~~~~~
+dwm.c:206:13: warning: 'setup' declared 'static' but never defined [-Wunused-function]
+ 206 | static void setup(void);
+ | ^~~~~
+dwm.c:207:13: warning: 'seturgent' declared 'static' but never defined [-Wunused-function]
+ 207 | static void seturgent(Client *c, int urg);
+ | ^~~~~~~~~
+dwm.c:208:13: warning: 'showhide' declared 'static' but never defined [-Wunused-function]
+ 208 | static void showhide(Client *c);
+ | ^~~~~~~~
+dwm.c:209:13: warning: 'spawn' used but never defined
+ 209 | static void spawn(const Arg *arg);
+ | ^~~~~
+dwm.c:210:13: warning: 'tag' used but never defined
+ 210 | static void tag(const Arg *arg);
+ | ^~~
+dwm.c:211:13: warning: 'tagmon' used but never defined
+ 211 | static void tagmon(const Arg *arg);
+ | ^~~~~~
+dwm.c:212:13: warning: 'tile' used but never defined
+ 212 | static void tile(Monitor *m);
+ | ^~~~
+dwm.c:213:13: warning: 'togglebar' used but never defined
+ 213 | static void togglebar(const Arg *arg);
+ | ^~~~~~~~~
+dwm.c:214:13: warning: 'togglefloating' used but never defined
+ 214 | static void togglefloating(const Arg *arg);
+ | ^~~~~~~~~~~~~~
+dwm.c:215:13: warning: 'toggletag' used but never defined
+ 215 | static void toggletag(const Arg *arg);
+ | ^~~~~~~~~
+dwm.c:216:13: warning: 'toggleview' used but never defined
+ 216 | static void toggleview(const Arg *arg);
+ | ^~~~~~~~~~
+dwm.c:217:13: warning: 'unfocus' declared 'static' but never defined [-Wunused-function]
+ 217 | static void unfocus(Client *c, int setfocus);
+ | ^~~~~~~
+dwm.c:218:13: warning: 'unmanage' declared 'static' but never defined [-Wunused-function]
+ 218 | static void unmanage(Client *c, int destroyed);
+ | ^~~~~~~~
+dwm.c:219:13: warning: 'unmapnotify' used but never defined
+ 219 | static void unmapnotify(XEvent *e);
+ | ^~~~~~~~~~~
+dwm.c:220:13: warning: 'updatebarpos' declared 'static' but never defined [-Wunused-function]
+ 220 | static void updatebarpos(Monitor *m);
+ | ^~~~~~~~~~~~
+dwm.c:221:13: warning: 'updatebars' declared 'static' but never defined [-Wunused-function]
+ 221 | static void updatebars(void);
+ | ^~~~~~~~~~
+dwm.c:222:13: warning: 'updateclientlist' declared 'static' but never defined [-Wunused-function]
+ 222 | static void updateclientlist(void);
+ | ^~~~~~~~~~~~~~~~
+dwm.c:223:12: warning: 'updategeom' declared 'static' but never defined [-Wunused-function]
+ 223 | static int updategeom(void);
+ | ^~~~~~~~~~
+dwm.c:224:13: warning: 'updatenumlockmask' declared 'static' but never defined [-Wunused-function]
+ 224 | static void updatenumlockmask(void);
+ | ^~~~~~~~~~~~~~~~~
+dwm.c:225:13: warning: 'updatesizehints' declared 'static' but never defined [-Wunused-function]
+ 225 | static void updatesizehints(Client *c);
+ | ^~~~~~~~~~~~~~~
+dwm.c:226:13: warning: 'updatestatus' declared 'static' but never defined [-Wunused-function]
+ 226 | static void updatestatus(void);
+ | ^~~~~~~~~~~~
+dwm.c:227:13: warning: 'updatetitle' declared 'static' but never defined [-Wunused-function]
+ 227 | static void updatetitle(Client *c);
+ | ^~~~~~~~~~~
+dwm.c:228:13: warning: 'updatewindowtype' declared 'static' but never defined [-Wunused-function]
+ 228 | static void updatewindowtype(Client *c);
+ | ^~~~~~~~~~~~~~~~
+dwm.c:229:13: warning: 'updatewmhints' declared 'static' but never defined [-Wunused-function]
+ 229 | static void updatewmhints(Client *c);
+ | ^~~~~~~~~~~~~
+dwm.c:230:13: warning: 'view' used but never defined
+ 230 | static void view(const Arg *arg);
+ | ^~~~
+dwm.c:231:16: warning: 'wintoclient' declared 'static' but never defined [-Wunused-function]
+ 231 | static Client *wintoclient(Window w);
+ | ^~~~~~~~~~~
+dwm.c:232:17: warning: 'wintomon' declared 'static' but never defined [-Wunused-function]
+ 232 | static Monitor *wintomon(Window w);
+ | ^~~~~~~~
+dwm.c:233:12: warning: 'xerror' declared 'static' but never defined [-Wunused-function]
+ 233 | static int xerror(Display *dpy, XErrorEvent *ee);
+ | ^~~~~~
+dwm.c:234:12: warning: 'xerrordummy' declared 'static' but never defined [-Wunused-function]
+ 234 | static int xerrordummy(Display *dpy, XErrorEvent *ee);
+ | ^~~~~~~~~~~
+dwm.c:235:12: warning: 'xerrorstart' declared 'static' but never defined [-Wunused-function]
+ 235 | static int xerrorstart(Display *dpy, XErrorEvent *ee);
+ | ^~~~~~~~~~~
+dwm.c:236:13: warning: 'zoom' used but never defined
+ 236 | static void zoom(const Arg *arg);
+ | ^~~~
+config.h:63:20: warning: 'xlockmodes' defined but not used [-Wunused-variable]
+ 63 | static const char *xlockmodes[] = { "spiral", "space", "helix", "grav" };
+ | ^~~~~~~~~~
+config.h:61:20: warning: 'termcmd' defined but not used [-Wunused-variable]
+ 61 | static const char *termcmd[] = { "st", NULL };
+ | ^~~~~~~
+config.h:22:20: warning: 'tags' defined but not used [-Wunused-variable]
+ 22 | static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+ | ^~~~
+config.h:15:20: warning: 'colors' defined but not used [-Wunused-variable]
+ 15 | static const char *colors[][3] = {
+ | ^~~~~~
+config.h:8:20: warning: 'fonts' defined but not used [-Wunused-variable]
+ 8 | static const char *fonts[] = { "monospace:size=10" };
+ | ^~~~~
+dwm.c:270:21: warning: 'wmcheckwin' defined but not used [-Wunused-variable]
+ 270 | static Window root, wmcheckwin;
+ | ^~~~~~~~~~
+dwm.c:270:15: warning: 'root' defined but not used [-Wunused-variable]
+ 270 | static Window root, wmcheckwin;
+ | ^~~~
+dwm.c:269:24: warning: 'selmon' defined but not used [-Wunused-variable]
+ 269 | static Monitor *mons, *selmon;
+ | ^~~~~~
+dwm.c:269:17: warning: 'mons' defined but not used [-Wunused-variable]
+ 269 | static Monitor *mons, *selmon;
+ | ^~~~
+dwm.c:268:13: warning: 'drw' defined but not used [-Wunused-variable]
+ 268 | static Drw *drw;
+ | ^~~
+dwm.c:267:17: warning: 'dpy' defined but not used [-Wunused-variable]
+ 267 | static Display *dpy;
+ | ^~~
+dwm.c:266:14: warning: 'scheme' defined but not used [-Wunused-variable]
+ 266 | static Clr **scheme;
+ | ^~~~~~
+dwm.c:265:13: warning: 'cursor' defined but not used [-Wunused-variable]
+ 265 | static Cur *cursor[CurLast];
+ | ^~~~~~
+dwm.c:264:12: warning: 'running' defined but not used [-Wunused-variable]
+ 264 | static int running = 1;
+ | ^~~~~~~
+dwm.c:263:29: warning: 'netatom' defined but not used [-Wunused-variable]
+ 263 | static Atom wmatom[WMLast], netatom[NetLast];
+ | ^~~~~~~
+dwm.c:263:13: warning: 'wmatom' defined but not used [-Wunused-variable]
+ 263 | static Atom wmatom[WMLast], netatom[NetLast];
+ | ^~~~~~
+dwm.c:247:15: warning: 'handler' defined but not used [-Wunused-variable]
+ 247 | static void (*handler[LASTEvent]) (XEvent *) = {
+ | ^~~~~~~
+dwm.c:246:21: warning: 'numlockmask' defined but not used [-Wunused-variable]
+ 246 | static unsigned int numlockmask = 0;
+ | ^~~~~~~~~~~
+dwm.c:245:14: warning: 'xerrorxlib' defined but not used [-Wunused-variable]
+ 245 | static int (*xerrorxlib)(Display *, XErrorEvent *);
+ | ^~~~~~~~~~
+dwm.c:244:12: warning: 'lrpad' defined but not used [-Wunused-variable]
+ 244 | static int lrpad; /* sum of left and right padding for text */
+ | ^~~~~
+dwm.c:243:12: warning: 'bh' defined but not used [-Wunused-variable]
+ 243 | static int bh; /* bar height */
+ | ^~
+dwm.c:242:16: warning: 'sh' defined but not used [-Wunused-variable]
+ 242 | static int sw, sh; /* X display screen geometry width, height */
+ | ^~
+dwm.c:242:12: warning: 'sw' defined but not used [-Wunused-variable]
+ 242 | static int sw, sh; /* X display screen geometry width, height */
+ | ^~
+dwm.c:241:12: warning: 'screen' defined but not used [-Wunused-variable]
+ 241 | static int screen;
+ | ^~~~~~
+dwm.c:240:13: warning: 'stext' defined but not used [-Wunused-variable]
+ 240 | static char stext[256];
+ | ^~~~~
+dwm.c:239:19: warning: 'broken' defined but not used [-Wunused-const-variable=]
+ 239 | static const char broken[] = "broken";
+ | ^~~~~~
+make: *** [Makefile:12: dwm.o] Error 1
diff --git a/dwm/config.h b/dwm/config.h
@@ -60,14 +60,15 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn()
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *webcmd[] = { "waterfox", NULL };
-static const char *lockcmd[] = { "xlock", "-mode", "$(shuf -e spiral space helix grav -n 1)" };
+static const char *xlockmodes[] = { "spiral", "space", "helix", "grav" };
+static const char *lockcmd[] = { "xlock", "-mode", NULL, NULL };
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
- { MODKEY, XK_Return, spawn, {.v = termcmd } },
- { MODKEY, XK_g, spawn, {.v = webcmd } },
- { MODKEY|ShiftMask, XK_x, spawn, {.v = lockcmd } },
+ { MODKEY, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY, XK_g, spawn, {.v = webcmd } },
+ { MODKEY|ShiftMask, XK_x, spawnlock, {0} },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
diff --git a/dwm/dwm b/dwm/dwm
Binary files differ.
diff --git a/dwm/dwm.c b/dwm/dwm.c
@@ -26,6 +26,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
@@ -141,6 +142,7 @@ typedef struct {
} Rule;
/* function declarations */
+static void spawnlock(const Arg *arg);
static void applyrules(Client *c);
static int applysizehints(Client *c, int *x, int *y, int *w, int *h, int interact);
static void arrange(Monitor *m);
@@ -274,6 +276,20 @@ static Window root, wmcheckwin;
struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; };
/* function implementations */
+
+void
+spawnlock(const Arg *arg)
+{
+ static char mode[32];
+ size_t n = LENGTH(xlockmodes);
+
+ srand(time(NULL) ^ getpid());
+ snprintf(mode, sizeof mode, "%s", xlockmodes[rand() % n]);
+
+ ((char **)lockcmd)[2] = mode;
+ spawn(&(Arg){ .v = lockcmd });
+}
+
void
applyrules(Client *c)
{
diff --git a/dwm/dwm.o b/dwm/dwm.o
Binary files differ.