|
|
@ -3,7 +3,10 @@
|
|
|
|
* See LICENSE file for license details.
|
|
|
|
* See LICENSE file for license details.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
|
|
|
|
|
|
|
|
|
|
|
|
#define ARRANGE dotile /* dofloat */
|
|
|
|
#define ARRANGE dotile /* dofloat */
|
|
|
|
|
|
|
|
#define DEFTAG Tdev
|
|
|
|
#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
|
|
|
|
#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
|
|
|
|
#define BGCOLOR "#0a2c2d"
|
|
|
|
#define BGCOLOR "#0a2c2d"
|
|
|
|
#define FGCOLOR "#ddeeee"
|
|
|
|
#define FGCOLOR "#ddeeee"
|
|
|
@ -12,7 +15,6 @@
|
|
|
|
#define NUMLOCKMASK Mod2Mask
|
|
|
|
#define NUMLOCKMASK Mod2Mask
|
|
|
|
#define MASTERW 52 /* percent */
|
|
|
|
#define MASTERW 52 /* percent */
|
|
|
|
|
|
|
|
|
|
|
|
enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
|
|
|
|
|
|
|
|
#define TAGS \
|
|
|
|
#define TAGS \
|
|
|
|
char *tags[TLast] = { \
|
|
|
|
char *tags[TLast] = { \
|
|
|
|
[Tfnord] = "fnord", \
|
|
|
|
[Tfnord] = "fnord", \
|
|
|
@ -21,19 +23,15 @@ char *tags[TLast] = { \
|
|
|
|
[Twork] = "work", \
|
|
|
|
[Twork] = "work", \
|
|
|
|
[Tmisc] = "misc", \
|
|
|
|
[Tmisc] = "misc", \
|
|
|
|
};
|
|
|
|
};
|
|
|
|
#define DEFTAG Tdev
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define KEYS \
|
|
|
|
#define CMDS \
|
|
|
|
|
|
|
|
const char *browse[] = { "firefox", NULL }; \
|
|
|
|
const char *browse[] = { "firefox", NULL }; \
|
|
|
|
const char *gimp[] = { "gimp", NULL }; \
|
|
|
|
const char *gimp[] = { "gimp", NULL }; \
|
|
|
|
const char *term[] = { \
|
|
|
|
const char *term[] = { \
|
|
|
|
"urxvt", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white", \
|
|
|
|
"urxvt", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white", \
|
|
|
|
"-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL \
|
|
|
|
"-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL \
|
|
|
|
}; \
|
|
|
|
}; \
|
|
|
|
const char *xlock[] = { "xlock", NULL };
|
|
|
|
const char *xlock[] = { "xlock", NULL }; \
|
|
|
|
|
|
|
|
|
|
|
|
#define KEYS \
|
|
|
|
|
|
|
|
static Key key[] = { \
|
|
|
|
static Key key[] = { \
|
|
|
|
/* modifier key function arguments */ \
|
|
|
|
/* modifier key function arguments */ \
|
|
|
|
{ MODKEY, XK_0, view, { .i = Tfnord } }, \
|
|
|
|
{ MODKEY, XK_0, view, { .i = Tfnord } }, \
|
|
|
|