Mercurial > aewl
annotate config.h @ 771:59a6f0ba5478
beautified status bar
author | meillo@marmaro.de |
---|---|
date | Sat, 06 Dec 2008 10:56:43 +0100 |
parents | 49aa8ccceefa |
children | 6f7f86762e0e |
rev | line source |
---|---|
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
1 /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
2 * (C)opyright MMVIII markus schnalke <meillo at marmaro dot de> |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
3 * See LICENSE file for license details. |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
4 */ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
5 |
766
3f7c68a720b5
undone naming change: "group" is "tag" again (but without plural)
meillo@marmaro.de
parents:
765
diff
changeset
|
6 #define NAMETAGGED "Das Alles" |
3f7c68a720b5
undone naming change: "group" is "tag" again (but without plural)
meillo@marmaro.de
parents:
765
diff
changeset
|
7 #define NAMEUNTAGGED "Das Nichts" |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
8 |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
9 #define BORDERPX 1 |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
10 #define DEFMODE domax /* dotile */ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
11 |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
12 #define FONT "-*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*" |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
13 #define NORMBGCOLOR "#333333" |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
14 #define NORMFGCOLOR "#bbbbbb" |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
15 #define SELBGCOLOR "#eec900" |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
16 #define SELFGCOLOR "#000000" |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
17 |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
18 #define MODKEY Mod1Mask |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
19 #define NMASTER 1 /* clients in master area */ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
20 #define SNAP 5 /* pixel */ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
21 |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
22 #define KEYS \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
23 static Key key[] = { \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
24 /* modifier key function argument */ \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
25 { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
26 { MODKEY, XK_F1, toggleview, "" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
27 { MODKEY, XK_F2, toggleview, "" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
28 { MODKEY, XK_Tab, focusnext, "" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
29 { MODKEY, XK_asciicircum, spawn, "dmenu_run -fn '"FONT"' "\ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
30 "-nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
31 { MODKEY, XK_1, zoom, "" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
32 { MODKEY, XK_2, killclient, "" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
33 { MODKEY|ShiftMask, XK_q, quit, "" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
34 { MODKEY|ShiftMask, XK_F4, spawn, "sudo /sbin/shutdown -h -t 3 now" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
35 { MODKEY, XK_space, togglemode, "" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
36 { MODKEY|ShiftMask, XK_space, togglefloat, "" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
37 { MODKEY, XK_plus, incnmaster, "" }, \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
38 { MODKEY, XK_minus, decnmaster, "" }, \ |
766
3f7c68a720b5
undone naming change: "group" is "tag" again (but without plural)
meillo@marmaro.de
parents:
765
diff
changeset
|
39 { MODKEY, XK_F3, toggletag, "" }, \ |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
40 }; |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
41 |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
42 /* Query class:instance:title for regex matching info with following command: |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
43 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
44 #define RULES \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
45 static Rule rule[] = { \ |
767
706991d15451
removed rexexp for old strstr matching; simplifications
meillo@marmaro.de
parents:
766
diff
changeset
|
46 /* class, instance, title, tag (1=tag/0=untag/-1=curr), isfloat */ \ |
769 | 47 { "URxvt", NULL, NULL, 0, False }, \ |
48 { "MPlayer", NULL, NULL, -1, True }, \ | |
49 { NULL, "qiv", NULL, -1, False }, \ | |
50 { "Gimp", NULL, NULL, 1, True }, \ | |
51 { "", "", "", 1, False }, \ | |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
52 }; |