Add scrot hotkeys

This commit is contained in:
ekzyis 2024-04-21 09:33:01 +02:00
parent 5da9ff505e
commit b6d8bfcb60
1 changed files with 4 additions and 0 deletions

View File

@ -59,9 +59,13 @@ 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_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *scrotcmd[] = { "i3-scrot", "-w", NULL };
static const char *scrotcmd2[] = { "i3-scrot", "-s", NULL };
static const Key keys[] = {
/* modifier key function argument */
{ 0, XK_Print, spawn, {.v = scrotcmd } },
{ MODKEY, XK_Print, spawn, {.v = scrotcmd2 } },
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },