aewl

annotate config.arg.h @ 323:13a2589fc8b5

font fix
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 22 Aug 2006 10:01:32 +0200
parents f435016410a0
children 6b535e908636
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@323 11 #define TFONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
arg@323 12 #define FONT "-*-snap-*-*-*-*-*-*-*-*-*-*-*-*"
arg@322 13 #define BGCOLOR "#0d121d"
arg@322 14 #define FGCOLOR "#eeeeee"
arg@322 15 #define BORDERCOLOR "#3f484d"
arg@164 16 #define MODKEY Mod1Mask
arg@171 17 #define MASTERW 60 /* percent */
arg@146 18
arg@152 19 #define KEYS \
arg@146 20 static Key key[] = { \
arg@262 21 /* modifier key function arguments */ \
arg@294 22 { MODKEY|ShiftMask, XK_Return, spawn, \
arg@323 23 { .cmd = "exec rxvt +sb -tr -bg black -fg '#eeeeee' -fn '"TFONT"'" } }, \
arg@295 24 { MODKEY, XK_p, spawn, \
arg@320 25 { .cmd = "exec `ls -lL /usr/bin /usr/X11R6/bin /usr/local/bin 2>/dev/null | " \
arg@301 26 "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u | dmenu`" } }, \
arg@295 27 { MODKEY, XK_j, focusnext, { 0 } }, \
arg@295 28 { MODKEY, XK_k, focusprev, { 0 } }, \
arg@294 29 { MODKEY, XK_Return, zoom, { 0 } }, \
arg@294 30 { MODKEY, XK_m, togglemax, { 0 } }, \
arg@294 31 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \
arg@294 32 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \
arg@294 33 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
arg@294 34 { MODKEY|ControlMask|ShiftMask, XK_1, toggletag, { .i = 0 } }, \
arg@294 35 { MODKEY|ControlMask|ShiftMask, XK_2, toggletag, { .i = 1 } }, \
arg@294 36 { MODKEY|ControlMask|ShiftMask, XK_3, toggletag, { .i = 2 } }, \
arg@294 37 { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
arg@294 38 { MODKEY, XK_space, togglemode, { 0 } }, \
arg@262 39 { MODKEY, XK_1, view, { .i = 0 } }, \
arg@262 40 { MODKEY, XK_2, view, { .i = 1 } }, \
arg@262 41 { MODKEY, XK_3, view, { .i = 2 } }, \
arg@263 42 { MODKEY|ControlMask, XK_1, toggleview, { .i = 0 } }, \
arg@263 43 { MODKEY|ControlMask, XK_2, toggleview, { .i = 1 } }, \
arg@263 44 { MODKEY|ControlMask, XK_3, toggleview, { .i = 2 } }, \
arg@262 45 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \
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 };