aewl

annotate config.h @ 748:61821891835c

statusbar: removed squares, removed modesymbols, normcolor for client title
author meillo@marmaro.de
date Sun, 11 Feb 2007 12:20:54 +0100
parents a28456200108
children
rev   line source
meillo@746 1 /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com>
meillo@746 2 * See LICENSE file for license details.
meillo@746 3 */
meillo@746 4
meillo@746 5 #define TAGS \
meillo@746 6 const char *tags[] = { "Das Alles", "Das Nichts", NULL };
meillo@746 7
meillo@746 8 #define BORDERPX 1
meillo@746 9 #define DEFMODE dotile /* dofloat */
meillo@748 10 #define FLOATSYMBOL ""
meillo@748 11 #define TILESYMBOL ""
meillo@746 12
meillo@746 13 #define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-*-*"
meillo@746 14 #define NORMBGCOLOR "#333333"
meillo@746 15 #define NORMFGCOLOR "#bbbbbb"
meillo@746 16 #define SELBGCOLOR "#eec900"
meillo@746 17 #define SELFGCOLOR "#000000"
meillo@746 18 #define NORMBORDERCOLOR NORMBGCOLOR
meillo@746 19 #define SELBORDERCOLOR SELBGCOLOR
meillo@746 20
meillo@746 21 #define MASTER 500 /* per thousand */
meillo@746 22 #define MODKEY Mod1Mask
meillo@746 23 #define NMASTER 1 /* clients in master area */
meillo@746 24 #define SNAP 5 /* pixel */
meillo@746 25 #define TOPBAR True /* False */
meillo@746 26
meillo@746 27 #define KEYS \
meillo@746 28 static Key key[] = { \
meillo@746 29 /* modifier key function argument */ \
meillo@746 30 { MODKEY|ShiftMask, XK_Return, spawn, { .cmd = "exec urxvt" } }, \
meillo@746 31 { MODKEY, XK_F1, viewnext, { .i = 0 } }, \
meillo@746 32 { MODKEY, XK_Tab, focusnext, { 0 } }, \
meillo@746 33 { MODKEY, XK_asciicircum, spawn, \
meillo@746 34 { .cmd = "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
meillo@746 35 " | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \
meillo@746 36 "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \
meillo@746 37 { MODKEY, XK_1, zoom, { 0 } }, \
meillo@746 38 { MODKEY, XK_2, killclient, { 0 } }, \
meillo@746 39 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \
meillo@746 40 { MODKEY|ShiftMask, XK_F4, spawn, { .cmd = "exec sudo halt" } }, \
meillo@746 41 { MODKEY, XK_space, togglefloat, { 0 } }, \
meillo@746 42 { MODKEY|ShiftMask, XK_space, togglemode, { 0 } }, \
meillo@746 43 { MODKEY, XK_g, resizemaster, { .i = 15 } }, \
meillo@746 44 { MODKEY, XK_s, resizemaster, { .i = -15 } }, \
meillo@746 45 { MODKEY, XK_i, incnmaster, { .i = 1 } }, \
meillo@746 46 { MODKEY, XK_d, incnmaster, { .i = -1 } }, \
meillo@746 47 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \
meillo@746 48 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \
meillo@746 49 };
meillo@746 50
meillo@746 51 /* Query class:instance:title for regex matching info with following command:
meillo@746 52 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
meillo@746 53 #define RULES \
meillo@746 54 static Rule rule[] = { \
meillo@746 55 /* class:instance:title regex tags regex isfloat */ \
meillo@746 56 { "URxvt.*", "Das Nichts", False }, \
meillo@746 57 { "MPlayer.*", NULL, True }, \
meillo@746 58 { "Gimp.*", "Das Alles", True }, \
meillo@746 59 { ".*", "Das Alles", False }, \
meillo@746 60 };