Add scrot hotkeys
This commit is contained in:
parent
5da9ff505e
commit
b6d8bfcb60
4
config.h
4
config.h
|
@ -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} },
|
||||
|
|
Loading…
Reference in New Issue