X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.arg.h;h=05bcd07e3cca52442479fb23c46f1434f21e95eb;hb=6d5f67a0922d40d52290c12f9c0d937f4121406e;hp=92f01b71b8e89f6d0cc1699c7c1e65667623d554;hpb=ceea528eff5ccd1bbd11696209fdc60a5383cc41;p=dwm.git diff --git a/config.arg.h b/config.arg.h index 92f01b7..05bcd07 100644 --- a/config.arg.h +++ b/config.arg.h @@ -5,26 +5,31 @@ #define TAGS \ const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; -#define DEFMODE dotile /* dofloat */ -#define FLOATSYMBOL "><>" -#define TILESYMBOL "[]=" +#define LAYOUTS \ +static Layout layout[] = { \ + /* symbol function */ \ + { "[]=", tile }, /* first entry is default */ \ + { "><>", versatile }, \ +}; +#define BORDERPX 1 #define FONT "-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*" +#define NORMBORDERCOLOR "#333" #define NORMBGCOLOR "#222" #define NORMFGCOLOR "#ccc" -#define SELBGCOLOR "#444" +#define SELBORDERCOLOR "#69c" +#define SELBGCOLOR "#555" #define SELFGCOLOR "#fff" -#define STATUSBGCOLOR "#333" -#define STATUSFGCOLOR "#9cf" #define MASTER 600 /* per thousand */ #define MODKEY Mod1Mask #define NMASTER 1 /* clients in master area */ #define SNAP 40 /* pixel */ +#define TOPBAR True /* False */ #define KEYS \ static Key key[] = { \ - /* modifier key function argument */ \ + /* modifier key function argument */ \ { MODKEY|ShiftMask, XK_Return, spawn, \ { .cmd = "exec uxterm -bg '#222' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" } }, \ { MODKEY, XK_p, spawn, \ @@ -33,11 +38,11 @@ static Key key[] = { \ "-sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"')\" && exec $exe" } }, \ { MODKEY, XK_j, focusnext, { 0 } }, \ { MODKEY, XK_k, focusprev, { 0 } }, \ - { MODKEY, XK_i, incnmaster, { .i = 1 } }, \ - { MODKEY, XK_d, incnmaster, { .i = -1 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \ { MODKEY, XK_g, resizemaster, { .i = 15 } }, \ { MODKEY, XK_s, resizemaster, { .i = -15 } }, \ + { MODKEY, XK_i, incnmaster, { .i = 1 } }, \ + { MODKEY, XK_d, incnmaster, { .i = -1 } }, \ { MODKEY|ShiftMask, XK_0, tag, { .i = -1 } }, \ { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ @@ -58,8 +63,8 @@ static Key key[] = { \ { MODKEY|ControlMask|ShiftMask, XK_8, toggletag, { .i = 7 } }, \ { MODKEY|ControlMask|ShiftMask, XK_9, toggletag, { .i = 8 } }, \ { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ - { MODKEY, XK_space, togglemode, { 0 } }, \ - { MODKEY|ShiftMask, XK_space, togglefloat, { 0 } }, \ + { MODKEY, XK_space, togglelayout, { 0 } }, \ + { MODKEY|ShiftMask, XK_space, toggleversatile,{ 0 } }, \ { MODKEY, XK_0, view, { .i = -1 } }, \ { MODKEY, XK_1, view, { .i = 0 } }, \ { MODKEY, XK_2, view, { .i = 1 } }, \ @@ -84,9 +89,9 @@ static Key key[] = { \ #define RULES \ static Rule rule[] = { \ - /* class:instance:title regex tags regex isfloat */ \ - { "Firefox.*", "3", False }, \ - { "Gimp.*", NULL, True }, \ - { "MPlayer.*", NULL, True }, \ - { "Acroread.*", NULL, True }, \ + /* class:instance:title regex tags regex versatile */ \ + { "Firefox", "3", False }, \ + { "Gimp", NULL, True }, \ + { "MPlayer", NULL, True }, \ + { "Acroread", NULL, True }, \ };