Add bookmark script

This commit is contained in:
Tyler Perkins 2022-12-09 22:12:17 -05:00
parent 2bf0980a7e
commit 154ba49609
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ static const Layout layouts[] = {
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_orange, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *bkmark[] = { "bkmark", NULL };
//patch includes
#include "shiftview.c"
@ -82,6 +83,7 @@ static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_Insert, spawn, {.v = bkmark } },
//{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },