aewl

view config.h @ 780:257703c696b4

larger font and keybinding for slock
author meillo@marmaro.de
date Tue, 15 Jun 2010 21:07:30 +0200
parents 6f7f86762e0e
children 1ec698ca43c5
line source
1 /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com>
2 * (C)opyright MMVIII markus schnalke <meillo at marmaro dot de>
3 * See LICENSE file for license details.
4 */
6 #define NAMETAGGED "Das Alles"
7 #define NAMEUNTAGGED "Das Nichts"
9 #define BORDERPX 1
10 #define DEFMODE domax /* dotile */
12 #define FONT "-*-terminus-medium-*-*-*-19-*-*-*-*-*-*-*"
13 #define NORMBGCOLOR "#333333"
14 #define NORMFGCOLOR "#bbbbbb"
15 #define SELBGCOLOR "#eec900"
16 #define SELFGCOLOR "#000000"
18 #define MODKEY Mod1Mask
19 #define NMASTER 1 /* clients in master area */
20 #define SNAP 5 /* pixel */
22 #define KEYS \
23 static Key key[] = { \
24 /* modifier key function argument */ \
25 { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt" }, \
26 { MODKEY, XK_F1, toggleview, "" }, \
27 { MODKEY, XK_F2, toggleview, "" }, \
28 { MODKEY, XK_Tab, focusnext, "" }, \
29 { MODKEY, XK_asciicircum, spawn, "dmenu_run -fn '"FONT"' "\
30 "-nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, \
31 { MODKEY, XK_1, zoom, "" }, \
32 { MODKEY, XK_2, killclient, "" }, \
33 { MODKEY|ShiftMask, XK_q, quit, "" }, \
34 { MODKEY|ShiftMask, XK_x, spawn, "exec slock" }, \
35 { MODKEY|ShiftMask, XK_F4, spawn, "sudo /sbin/shutdown -h -t 3 now" }, \
36 { MODKEY, XK_space, togglemode, "" }, \
37 { MODKEY|ShiftMask, XK_space, togglefloat, "" }, \
38 { MODKEY, XK_plus, incnmaster, "" }, \
39 { MODKEY, XK_minus, decnmaster, "" }, \
40 { MODKEY, XK_3, toggletag, "" }, \
41 };
43 /* Query class:instance:title for regex matching info with following command:
44 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
45 #define RULES \
46 static Rule rule[] = { \
47 /* class, instance, title, tag (1=tag/0=untag/-1=curr), isfloat */ \
48 { "URxvt", NULL, NULL, 0, False }, \
49 { "MPlayer", NULL, NULL, -1, True }, \
50 { NULL, NULL, "qiv", -1, False }, \
51 { "Gimp", NULL, NULL, 1, True }, \
52 { "", "", "", 1, False }, \
53 };