diff options
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/config.def.h b/config.def.h index f837b4b..c7d1401 100644 --- a/config.def.h +++ b/config.def.h @@ -7,18 +7,27 @@ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "terminus:size=13" }; static const char dmenufont[] = "terminus:size=13"; -static const char col_gray1[] = "#222222"; -static const char col_gray2[] = "#444444"; -static const char col_gray3[] = "#bbbbbb"; -static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#005577"; + +static const char norm_fg[] = "#ddbebe"; +static const char norm_bg[] = "#000000"; +static const char norm_border[] = "#9a8585"; + +static const char sel_fg[] = "#ddbebe"; +static const char sel_bg[] = "#C16A7E"; +static const char sel_border[] = "#ddbebe"; + +static const char urg_fg[] = "#ddbebe"; +static const char urg_bg[] = "#9F5869"; +static const char urg_border[] = "#9F5869"; + static const char *colors[][3] = { - /* fg bg border */ - [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, - [SchemeSel] = { col_gray4, col_cyan, col_cyan }, - [SchemeHid] = { col_cyan, col_gray1, col_cyan }, + /* fg bg border */ + [SchemeNorm] = { norm_fg, norm_bg, norm_border }, // unfocused wins + [SchemeSel] = { sel_fg, sel_bg, sel_border }, // the focused win + [SchemeHid] = { urg_fg, urg_bg, urg_border }, }; + /* tagging */ static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; @@ -32,6 +41,10 @@ static const Rule rules[] = { { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, { "St", NULL, "st", 0, 0, -1 }, }; +/* window swallowing */ +static const int swaldecay = 3; +static const int swalretroactive = 1; +static const char swalsymbol[] = "👅"; /* layout(s) */ static const float mfact = 0.45; /* factor of master area size [0.05..0.95] */ @@ -59,7 +72,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", norm_bg, "-nf", norm_fg, "-sb", sel_bg, "-sf", sel_fg, NULL }; static const char *termcmd[] = { "st", NULL }; static const Key keys[] = { @@ -71,7 +84,6 @@ static const Key keys[] = { { MODKEY, XK_k, focusstackvis, {.i = -1 } }, { MODKEY|ShiftMask, XK_j, focusstackhid, {.i = +1 } }, { MODKEY|ShiftMask, XK_k, focusstackhid, {.i = -1 } }, - { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY|ShiftMask, XK_q, killclient, {0} }, @@ -86,8 +98,7 @@ static const Key keys[] = { { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, - { MODKEY, XK_s, show, {0} }, - { MODKEY|ShiftMask, XK_s, showall, {0} }, + { MODKEY, XK_s, showall, {0} }, { MODKEY, XK_h, hide, {0} }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) @@ -113,6 +124,7 @@ static const Button buttons[] = { { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, + { ClkClientWin, MODKEY|ShiftMask, Button1, swalmouse, {0} }, { ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} }, { ClkTagBar, MODKEY, Button1, tag, {0} }, |