diff options
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -73,20 +73,20 @@ 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_white, "-sb", col_gray2, "-sf", col_white, NULL }; +static const char *roficmd[] = { "rofi", "-show", "drun" }; +static const char *rofitab[] = { "rofi", "-show", "window" }; static const char *termcmd[] = { "st", NULL }; #include "movestack.c" static const Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_p, spawn, {.v = dmenucmd} }, + { MODKEY, XK_p, spawn, {.v = roficmd} }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd} }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1} }, { MODKEY, XK_k, focusstack, {.i = -1} }, { MODKEY, XK_i, incnmaster, {.i = +1} }, { MODKEY, XK_d, incnmaster, {.i = -1} }, - { MODKEY, XK_h, setmfact, {.f = -0.05} }, - { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY|ShiftMask, XK_j, movestack, {.i = +1} }, { MODKEY|ShiftMask, XK_k, movestack, {.i = -1} }, { MODKEY, XK_Return, zoom, {0} }, @@ -102,8 +102,12 @@ 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_Tab, altTabStart, {.i = 1} }, - { MODKEY, XK_grave, altTabStart, {.i = 0} }, + { MODKEY, XK_Tab, spawn, {.v = rofitab} }, + { MODKEY, XK_grave, spawn, {.v = rofitab} }, + { MODKEY, XK_h, viewtoleft, {0} }, + { MODKEY, XK_l, viewtoright, {0} }, + { MODKEY|ShiftMask, XK_h, tagtoleft, {0} }, + { MODKEY|ShiftMask, XK_l, tagtoright, {0} }, TAGKEYS( XK_1, 0 ) TAGKEYS( XK_2, 1 ) TAGKEYS( XK_3, 2 ) |
