comparison config.h @ 779:6f7f86762e0e

changed some whitespace
author meillo@marmaro.de
date Mon, 22 Feb 2010 13:11:22 +0100
parents 49aa8ccceefa
children 257703c696b4
comparison
equal deleted inserted replaced
778:7ea91d4d0882 779:6f7f86762e0e
4 */ 4 */
5 5
6 #define NAMETAGGED "Das Alles" 6 #define NAMETAGGED "Das Alles"
7 #define NAMEUNTAGGED "Das Nichts" 7 #define NAMEUNTAGGED "Das Nichts"
8 8
9 #define BORDERPX 1 9 #define BORDERPX 1
10 #define DEFMODE domax /* dotile */ 10 #define DEFMODE domax /* dotile */
11 11
12 #define FONT "-*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*" 12 #define FONT "-*-terminus-medium-*-*-*-16-*-*-*-*-*-*-*"
13 #define NORMBGCOLOR "#333333" 13 #define NORMBGCOLOR "#333333"
14 #define NORMFGCOLOR "#bbbbbb" 14 #define NORMFGCOLOR "#bbbbbb"
15 #define SELBGCOLOR "#eec900" 15 #define SELBGCOLOR "#eec900"
16 #define SELFGCOLOR "#000000" 16 #define SELFGCOLOR "#000000"
17 17
18 #define MODKEY Mod1Mask 18 #define MODKEY Mod1Mask
19 #define NMASTER 1 /* clients in master area */ 19 #define NMASTER 1 /* clients in master area */
20 #define SNAP 5 /* pixel */ 20 #define SNAP 5 /* pixel */
21 21
22 #define KEYS \ 22 #define KEYS \
23 static Key key[] = { \ 23 static Key key[] = { \
24 /* modifier key function argument */ \ 24 /* modifier key function argument */ \
25 { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt" }, \ 25 { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt" }, \
26 { MODKEY, XK_F1, toggleview, "" }, \ 26 { MODKEY, XK_F1, toggleview, "" }, \
27 { MODKEY, XK_F2, toggleview, "" }, \ 27 { MODKEY, XK_F2, toggleview, "" }, \
28 { MODKEY, XK_Tab, focusnext, "" }, \ 28 { MODKEY, XK_Tab, focusnext, "" }, \
29 { MODKEY, XK_asciicircum, spawn, "dmenu_run -fn '"FONT"' "\ 29 { MODKEY, XK_asciicircum, spawn, "dmenu_run -fn '"FONT"' "\
30 "-nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, \ 30 "-nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, \
31 { MODKEY, XK_1, zoom, "" }, \ 31 { MODKEY, XK_1, zoom, "" }, \
32 { MODKEY, XK_2, killclient, "" }, \ 32 { MODKEY, XK_2, killclient, "" }, \
33 { MODKEY|ShiftMask, XK_q, quit, "" }, \ 33 { MODKEY|ShiftMask, XK_q, quit, "" }, \
34 { MODKEY|ShiftMask, XK_F4, spawn, "sudo /sbin/shutdown -h -t 3 now" }, \ 34 { MODKEY|ShiftMask, XK_F4, spawn, "sudo /sbin/shutdown -h -t 3 now" }, \
35 { MODKEY, XK_space, togglemode, "" }, \ 35 { MODKEY, XK_space, togglemode, "" }, \
36 { MODKEY|ShiftMask, XK_space, togglefloat, "" }, \ 36 { MODKEY|ShiftMask, XK_space, togglefloat, "" }, \
37 { MODKEY, XK_plus, incnmaster, "" }, \ 37 { MODKEY, XK_plus, incnmaster, "" }, \
38 { MODKEY, XK_minus, decnmaster, "" }, \ 38 { MODKEY, XK_minus, decnmaster, "" }, \
39 { MODKEY, XK_F3, toggletag, "" }, \ 39 { MODKEY, XK_3, toggletag, "" }, \
40 }; 40 };
41 41
42 /* Query class:instance:title for regex matching info with following command: 42 /* Query class:instance:title for regex matching info with following command:
43 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */ 43 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
44 #define RULES \ 44 #define RULES \
45 static Rule rule[] = { \ 45 static Rule rule[] = { \
46 /* class, instance, title, tag (1=tag/0=untag/-1=curr), isfloat */ \ 46 /* class, instance, title, tag (1=tag/0=untag/-1=curr), isfloat */ \
47 { "URxvt", NULL, NULL, 0, False }, \ 47 { "URxvt", NULL, NULL, 0, False }, \
48 { "MPlayer", NULL, NULL, -1, True }, \ 48 { "MPlayer", NULL, NULL, -1, True }, \
49 { NULL, "qiv", NULL, -1, False }, \ 49 { NULL, NULL, "qiv", -1, False }, \
50 { "Gimp", NULL, NULL, 1, True }, \ 50 { "Gimp", NULL, NULL, 1, True }, \
51 { "", "", "", 1, False }, \ 51 { "", "", "", 1, False }, \
52 }; 52 };