Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
applied Sanders patches (numlock2)
[dwm.git]
/
config.h
diff --git
a/config.h
b/config.h
index
430539c
..
d9070e3
100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-3,6
+3,7
@@
* See LICENSE file for license details.
*/
* See LICENSE file for license details.
*/
+#define DEFMODE dotile /* dofloat */
#define FONT "fixed"
#define BGCOLOR "#666699"
#define FGCOLOR "#eeeeee"
#define FONT "fixed"
#define BGCOLOR "#666699"
#define FGCOLOR "#eeeeee"
@@
-10,7
+11,6
@@
#define MODKEY Mod1Mask
#define NUMLOCKMASK Mod2Mask
#define MASTERW 52 /* percent */
#define MODKEY Mod1Mask
#define NUMLOCKMASK Mod2Mask
#define MASTERW 52 /* percent */
-#define WM_PROTOCOL_DELWIN 1
enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
#define TAGS \
enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
#define TAGS \
@@
-21,13
+21,10
@@
char *tags[TLast] = { \
[Twork] = "work", \
[Tmisc] = "misc", \
};
[Twork] = "work", \
[Tmisc] = "misc", \
};
-#define DEFTAG Tdev
-
-
-#define CMDS \
- const char *term[] = { "xterm", NULL };
+#define DEFTAG Tdev
#define KEYS \
#define KEYS \
+ const char *term[] = { "xterm", NULL }; \
static Key key[] = { \
/* modifier key function arguments */ \
{ MODKEY, XK_0, view, { .i = Tfnord } }, \
static Key key[] = { \
/* modifier key function arguments */ \
{ MODKEY, XK_0, view, { .i = Tfnord } }, \
@@
-63,5
+60,3
@@
static Rule rule[] = { \
{ "Firefox.*", { [Tnet] = "net" }, False }, \
{ "Gimp.*", { 0 }, True}, \
};
{ "Firefox.*", { [Tnet] = "net" }, False }, \
{ "Gimp.*", { 0 }, True}, \
};
-
-#define ARRANGE dotile