Mercurial > aewl
annotate config.h @ 785:5fa2cf6026e8
Reordered lines in config.h; removed 3s delay for shutdown.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Sat, 17 Mar 2012 19:10:42 +0100 |
parents | f1e806b34697 |
children |
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 |
779 | 9 #define BORDERPX 1 |
10 #define DEFMODE domax /* dotile */ | |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
11 |
780 | 12 #define FONT "-*-terminus-medium-*-*-*-19-*-*-*-*-*-*-*" |
781 | 13 /*#define FONT "fixed"*/ |
779 | 14 #define NORMBGCOLOR "#333333" |
15 #define NORMFGCOLOR "#bbbbbb" | |
16 #define SELBGCOLOR "#eec900" | |
17 #define SELFGCOLOR "#000000" | |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
18 |
779 | 19 #define MODKEY Mod1Mask |
20 #define NMASTER 1 /* clients in master area */ | |
21 #define SNAP 5 /* pixel */ | |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
22 |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
23 #define KEYS \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
24 static Key key[] = { \ |
779 | 25 /* modifier key function argument */ \ |
26 { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt" }, \ | |
782
f1e806b34697
created separated floating space; added per space mode
markus schnalke <meillo@marmaro.de>
parents:
781
diff
changeset
|
27 { MODKEY, XK_F1, toggleview, "" }, \ |
f1e806b34697
created separated floating space; added per space mode
markus schnalke <meillo@marmaro.de>
parents:
781
diff
changeset
|
28 { MODKEY, XK_F2, toggleview, "" }, \ |
f1e806b34697
created separated floating space; added per space mode
markus schnalke <meillo@marmaro.de>
parents:
781
diff
changeset
|
29 { MODKEY, XK_F3, floattoggle, "" }, \ |
785
5fa2cf6026e8
Reordered lines in config.h; removed 3s delay for shutdown.
markus schnalke <meillo@marmaro.de>
parents:
782
diff
changeset
|
30 { MODKEY|ShiftMask, XK_F4, spawn, "sudo /sbin/shutdown -h now" }, \ |
779 | 31 { MODKEY, XK_Tab, focusnext, "" }, \ |
32 { MODKEY, XK_asciicircum, spawn, "dmenu_run -fn '"FONT"' "\ | |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
33 "-nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, \ |
779 | 34 { MODKEY, XK_1, zoom, "" }, \ |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
35 { MODKEY, XK_2, killclient, "" }, \ |
785
5fa2cf6026e8
Reordered lines in config.h; removed 3s delay for shutdown.
markus schnalke <meillo@marmaro.de>
parents:
782
diff
changeset
|
36 { MODKEY, XK_3, toggletag, "" }, \ |
779 | 37 { MODKEY|ShiftMask, XK_q, quit, "" }, \ |
780 | 38 { MODKEY|ShiftMask, XK_x, spawn, "exec slock" }, \ |
779 | 39 { MODKEY, XK_space, togglemode, "" }, \ |
40 { MODKEY|ShiftMask, XK_space, togglefloat, "" }, \ | |
41 { MODKEY, XK_plus, incnmaster, "" }, \ | |
42 { MODKEY, XK_minus, decnmaster, "" }, \ | |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
43 }; |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
44 |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
45 /* 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
|
46 * 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
|
47 #define RULES \ |
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
48 static Rule rule[] = { \ |
767
706991d15451
removed rexexp for old strstr matching; simplifications
meillo@marmaro.de
parents:
766
diff
changeset
|
49 /* class, instance, title, tag (1=tag/0=untag/-1=curr), isfloat */ \ |
769 | 50 { "URxvt", NULL, NULL, 0, False }, \ |
51 { "MPlayer", NULL, NULL, -1, True }, \ | |
781 | 52 { "sxiv", NULL, NULL, -1, False }, \ |
779 | 53 { NULL, NULL, "qiv", -1, False }, \ |
769 | 54 { "Gimp", NULL, NULL, 1, True }, \ |
55 { "", "", "", 1, False }, \ | |
765
f1d4bc4afcd9
why is config.h not versioned ... it should be. Now it is
meillo@marmaro.de
parents:
diff
changeset
|
56 }; |