diff options
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h index b98901b..0dcd1e2 100644 --- a/config.def.h +++ b/config.def.h @@ -64,14 +64,15 @@ 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_primary, "-sf", col_gray4, NULL }; -static const char *termcmd[] = { "st", NULL }; -static const char *passcmd[] = { "passmenu", "--type", NULL }; -static const char *mailcmd[] = { "st", "neomutt", NULL }; -static const char *musiccmd[] = { "st", "cmus", NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_primary, "-sf", col_gray4, NULL }; +static const char *termcmd[] = { "st", NULL }; +static const char *passcmd[] = { "passmenu", "--type", NULL }; +static const char *mailcmd[] = { "st", "neomutt", NULL }; +static const char *musiccmd[] = { "st", "cmus", NULL }; static const char *youtubecmd[] = { "st", "ytfzf", "-t", "-s", NULL }; -static const char *lockcmd[] = { "slock", NULL }; +static const char *lockcmd[] = { "slock", NULL }; static const char *sessioncmd[] = { "powerdialog", NULL }; +static const char *mountmgr[] = { "mountmgr", NULL }; static Key keys[] = { /* modifier key function argument */ @@ -83,7 +84,9 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_m, spawn, {.v = musiccmd } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } }, { MODKEY|ShiftMask, XK_y, spawn, {.v = youtubecmd } }, + { MODKEY|ShiftMask, XK_s, spawn, SHCMD("sbt \"$(printf '' | dmenu -p 'Open: ')\"") }, { MODKEY, XK_q, spawn, {.v = sessioncmd } }, + { MODKEY|ShiftMask, XK_u, spawn, {.v = mountmgr } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, |