From 6bf8456862368e600a1ced1aeb2cf4358c3df25a Mon Sep 17 00:00:00 2001 From: c Date: Tue, 5 Dec 2023 20:50:32 -0500 Subject: README --- config.def.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index d39a17e..b8e7b17 100644 --- a/config.def.h +++ b/config.def.h @@ -17,6 +17,7 @@ static char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, [SchemeSel] = { col_gray4, col_cyan, col_cyan }, + [SchemeTitle] = { col_gray4, col_cyan, col_cyan }, }; /* tagging */ @@ -104,6 +105,7 @@ static const Key keys[] = { { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, + { MODKEY, XK_g, gesture, {0} }, { MODKEY|ShiftMask, XK_f, togglefullscr, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, @@ -137,9 +139,21 @@ static const Button buttons[] = { { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, + { ClkClientWin, MODKEY|ShiftMask,Button3, gesture, {0} }, { ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} }, { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, }; +/* gestures + * u means up + * d means down + * l means left + * r means right + * ud means up and down + */ +static Gesture gestures[] = { + { "u", spawn, {.v = termcmd } }, + { "d", spawn, {.v = dmenucmd } }, +}; -- cgit v1.2.3