dwm-meillo
view config.arg.h @ 354:bb780add36c6
restored config.arg.h
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Fri, 25 Aug 2006 13:02:07 +0200 |
parents | 8a06efe5b563 |
children | 27082985e51e |
line source
1 /*
2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3 * See LICENSE file for license details.
4 */
6 #define TAGS \
7 const char *tags[] = { "work", "net", "fnord", NULL };
9 #define DEFMODE dotile /* dofloat */
11 #define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
12 #define SELBGCOLOR "#666699"
13 #define SELFGCOLOR "#eeeeee"
14 #define NORMBGCOLOR "#333366"
15 #define NORMFGCOLOR "#cccccc"
16 #define STATUSBGCOLOR "#dddddd"
17 #define STATUSFGCOLOR "#222222"
19 #define MODKEY Mod1Mask
20 #define MASTERW 60 /* percent */
22 #define KEYS \
23 static Key key[] = { \
24 /* modifier key function arguments */ \
25 { MODKEY|ShiftMask, XK_Return, spawn, \
26 { .cmd = "exec uxterm -bg '#e0e0e0' -fg '#000000' -cr '#000000' +sb -fn '"FONT"'" } }, \
27 { MODKEY, XK_p, spawn, \
28 { .cmd = "exec `ls -lL /usr/bin /usr/X11R6/bin /usr/local/bin 2>/dev/null | " \
29 "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u | dmenu`" } }, \
30 { MODKEY, XK_j, focusnext, { 0 } }, \
31 { MODKEY, XK_k, focusprev, { 0 } }, \
32 { MODKEY, XK_Return, zoom, { 0 } }, \
33 { MODKEY, XK_m, togglemax, { 0 } }, \
34 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \
35 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \
36 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
37 { MODKEY|ControlMask|ShiftMask, XK_1, toggletag, { .i = 0 } }, \
38 { MODKEY|ControlMask|ShiftMask, XK_2, toggletag, { .i = 1 } }, \
39 { MODKEY|ControlMask|ShiftMask, XK_3, toggletag, { .i = 2 } }, \
40 { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
41 { MODKEY, XK_space, togglemode, { 0 } }, \
42 { MODKEY, XK_1, view, { .i = 0 } }, \
43 { MODKEY, XK_2, view, { .i = 1 } }, \
44 { MODKEY, XK_3, view, { .i = 2 } }, \
45 { MODKEY|ControlMask, XK_1, toggleview, { .i = 0 } }, \
46 { MODKEY|ControlMask, XK_2, toggleview, { .i = 1 } }, \
47 { MODKEY|ControlMask, XK_3, toggleview, { .i = 2 } }, \
48 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \
49 };
51 #define RULES \
52 static Rule rule[] = { \
53 /* class:instance:title regex tags regex isfloat */ \
54 { "Firefox.*", "net", False }, \
55 { "Gimp.*", NULL, True}, \
56 { "MPlayer.*", NULL, True}, \
57 { "Acroread.*", NULL, True}, \
58 };