dwm-meillo

annotate config.arg.h @ 237:7f8f7f14e9cd

readded border color, this sucks least
author Anselm R.Garbe <arg@10ksloc.org>
date Thu, 10 Aug 2006 11:12:15 +0200
parents 60e73ebaab27
children 243bf6783c7c
rev   line source
arg@146 1 /*
arg@146 2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
arg@146 3 * See LICENSE file for license details.
arg@146 4 */
arg@146 5
arg@146 6 #define TAGS \
arg@220 7 const char *tags[] = { "work", "net", "fnord", NULL };
arg@164 8
arg@164 9 #define DEFMODE dotile /* dofloat */
arg@220 10 #define DEFTAG 0 /* index */
arg@215 11 #define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
arg@234 12 #define BGCOLOR "#eeeeee"
arg@234 13 #define FGCOLOR "#666699"
arg@237 14 #define BORDERCOLOR "#9999CC"
arg@164 15 #define MODKEY Mod1Mask
arg@164 16 #define NUMLOCKMASK Mod2Mask
arg@171 17 #define MASTERW 60 /* percent */
arg@146 18
arg@152 19 #define KEYS \
arg@146 20 static Key key[] = { \
arg@146 21 /* modifier key function arguments */ \
arg@220 22 { MODKEY, XK_1, view, { .i = 0 } }, \
arg@220 23 { MODKEY, XK_2, view, { .i = 1 } }, \
arg@220 24 { MODKEY, XK_3, view, { .i = 2 } }, \
arg@146 25 { MODKEY, XK_h, viewprev, { 0 } }, \
arg@146 26 { MODKEY, XK_j, focusnext, { 0 } }, \
arg@146 27 { MODKEY, XK_k, focusprev, { 0 } }, \
arg@146 28 { MODKEY, XK_l, viewnext, { 0 } }, \
arg@146 29 { MODKEY, XK_m, togglemax, { 0 } }, \
arg@190 30 { MODKEY, XK_p, spawn, \
arg@222 31 { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \
arg@222 32 "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \
arg@146 33 { MODKEY, XK_space, togglemode, { 0 } }, \
arg@146 34 { MODKEY, XK_Return, zoom, { 0 } }, \
arg@220 35 { MODKEY|ControlMask, XK_1, appendtag, { .i = 0 } }, \
arg@220 36 { MODKEY|ControlMask, XK_2, appendtag, { .i = 1 } }, \
arg@220 37 { MODKEY|ControlMask, XK_3, appendtag, { .i = 2 } }, \
arg@220 38 { MODKEY|ShiftMask, XK_1, replacetag, { .i = 0 } }, \
arg@220 39 { MODKEY|ShiftMask, XK_2, replacetag, { .i = 1 } }, \
arg@220 40 { MODKEY|ShiftMask, XK_3, replacetag, { .i = 2 } }, \
arg@146 41 { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
arg@146 42 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \
arg@189 43 { MODKEY|ShiftMask, XK_Return, spawn, \
arg@233 44 { .cmd = "exec uxterm -bg '#dddddd' -fg '#000000' -cr '#000000' +sb " \
arg@222 45 "-fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \
arg@146 46 };
arg@146 47
arg@146 48 #define RULES \
arg@146 49 static Rule rule[] = { \
arg@191 50 /* class:instance regex tags regex isfloat */ \
arg@191 51 { "Firefox.*", "net", False }, \
arg@191 52 { "Gimp.*", NULL, True}, \
arg@191 53 { "MPlayer.*", NULL, True}, \
arg@191 54 { "Acroread.*", NULL, True}, \
arg@146 55 };