aewl

annotate config.default.h @ 171:dac0793bf3f7

changing MASTERW value from 52 to 60 (in both, default and arg), I feel this is better now
author arg@10ksloc.org
date Wed, 02 Aug 2006 17:19:22 +0200
parents e0535db04dfe
children 1db04019684e
rev   line source
arg@146 1 /*
arg@146 2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
arg@146 3 * See LICENSE file for license details.
arg@146 4 */
arg@146 5
arg@160 6 enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
arg@146 7 #define TAGS \
arg@146 8 char *tags[TLast] = { \
arg@146 9 [Tfnord] = "fnord", \
arg@146 10 [Tdev] = "dev", \
arg@146 11 [Tnet] = "net", \
arg@146 12 [Twork] = "work", \
arg@146 13 [Tmisc] = "misc", \
arg@146 14 };
arg@164 15
arg@164 16 #define DEFMODE dotile /* dofloat */
arg@160 17 #define DEFTAG Tdev
arg@164 18 #define FONT "fixed"
arg@164 19 #define BGCOLOR "#666699"
arg@164 20 #define FGCOLOR "#eeeeee"
arg@164 21 #define BORDERCOLOR "#9999CC"
arg@164 22 #define MODKEY Mod1Mask
arg@164 23 #define NUMLOCKMASK Mod2Mask
arg@171 24 #define MASTERW 60 /* percent */
arg@146 25
arg@146 26 #define KEYS \
arg@152 27 const char *term[] = { "xterm", NULL }; \
arg@146 28 static Key key[] = { \
arg@146 29 /* modifier key function arguments */ \
arg@146 30 { MODKEY, XK_0, view, { .i = Tfnord } }, \
arg@146 31 { MODKEY, XK_1, view, { .i = Tdev } }, \
arg@146 32 { MODKEY, XK_2, view, { .i = Tnet } }, \
arg@146 33 { MODKEY, XK_3, view, { .i = Twork } }, \
arg@146 34 { MODKEY, XK_4, view, { .i = Tmisc} }, \
arg@146 35 { MODKEY, XK_h, viewprev, { 0 } }, \
arg@146 36 { MODKEY, XK_j, focusnext, { 0 } }, \
arg@146 37 { MODKEY, XK_k, focusprev, { 0 } }, \
arg@146 38 { MODKEY, XK_l, viewnext, { 0 } }, \
arg@146 39 { MODKEY, XK_m, togglemax, { 0 } }, \
arg@146 40 { MODKEY, XK_space, togglemode, { 0 } }, \
arg@146 41 { MODKEY, XK_Return, zoom, { 0 } }, \
arg@146 42 { MODKEY|ControlMask, XK_0, appendtag, { .i = Tfnord } }, \
arg@146 43 { MODKEY|ControlMask, XK_1, appendtag, { .i = Tdev } }, \
arg@146 44 { MODKEY|ControlMask, XK_2, appendtag, { .i = Tnet } }, \
arg@146 45 { MODKEY|ControlMask, XK_3, appendtag, { .i = Twork } }, \
arg@146 46 { MODKEY|ControlMask, XK_4, appendtag, { .i = Tmisc } }, \
arg@146 47 { MODKEY|ShiftMask, XK_0, replacetag, { .i = Tfnord } }, \
arg@146 48 { MODKEY|ShiftMask, XK_1, replacetag, { .i = Tdev } }, \
arg@146 49 { MODKEY|ShiftMask, XK_2, replacetag, { .i = Tnet } }, \
arg@146 50 { MODKEY|ShiftMask, XK_3, replacetag, { .i = Twork } }, \
arg@146 51 { MODKEY|ShiftMask, XK_4, replacetag, { .i = Tmisc } }, \
arg@146 52 { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
arg@146 53 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \
arg@146 54 { MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } }, \
arg@146 55 };
arg@146 56
arg@146 57 #define RULES \
arg@146 58 static Rule rule[] = { \
arg@146 59 /* class:instance tags isfloat */ \
arg@146 60 { "Firefox.*", { [Tnet] = "net" }, False }, \
arg@146 61 { "Gimp.*", { 0 }, True}, \
arg@146 62 };