X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.arg.h;h=a427096568f901889714e0e0c1f772635a39efd6;hb=169d96ae8fdf430fd028de74a97c8901759174be;hp=ca23b24681e2579890b96638e402467fec3b299d;hpb=10bc0ce912eb99fec49d954c80d92e04429ed0ee;p=dwm.git diff --git a/config.arg.h b/config.arg.h index ca23b24..a427096 100644 --- a/config.arg.h +++ b/config.arg.h @@ -3,7 +3,7 @@ /* appearance */ #define BARPOS BarTop /* BarBot, BarOff */ #define BORDERPX 1 -#define FONT "-*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-*" +#define FONT "-*-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*" #define NORMBORDERCOLOR "#333" #define NORMBGCOLOR "#222" #define NORMFGCOLOR "#ccc" @@ -15,7 +15,7 @@ #define TAGS \ const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; #define RULES \ -static Rule rule[] = { \ +static Rule rules[] = { \ /* class:instance:title regex tags regex isfloating */ \ { "Firefox", "3", False }, \ { "Gimp", NULL, True }, \ @@ -26,7 +26,7 @@ static Rule rule[] = { \ /* layout(s) */ #include "tile.h" #define LAYOUTS \ -static Layout layout[] = { \ +static Layout layouts[] = { \ /* symbol function */ \ { "[]=", tile }, /* first entry is default */ \ { "><>", floating }, \ @@ -37,7 +37,7 @@ static Layout layout[] = { \ /* key definitions */ #define MODKEY Mod1Mask #define KEYS \ -Key key[] = { \ +Key keys[] = { \ /* modifier key function argument */ \ { MODKEY, XK_p, spawn, \ "exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \ @@ -48,8 +48,8 @@ Key key[] = { \ { MODKEY, XK_b, togglebar, NULL }, \ { MODKEY, XK_j, focusnext, NULL }, \ { MODKEY, XK_k, focusprev, NULL }, \ - { MODKEY, XK_h, addtomwfact, "-0.05" }, \ - { MODKEY, XK_l, addtomwfact, "0.05" }, \ + { MODKEY, XK_h, setmwfact, "-0.05" }, \ + { MODKEY, XK_l, setmwfact, "+0.05" }, \ { MODKEY, XK_m, togglemax, NULL }, \ { MODKEY, XK_Return, zoom, NULL }, \ { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \