diff --git a/config.h b/config.h index 2bdc588..3ffdbf4 100644 --- a/config.h +++ b/config.h @@ -98,12 +98,15 @@ 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 *discord_sandboxed_mute_cmd[] = { "pkill", "--oldest", "-SIGUSR2", "discord-sand", NULL }; /* For some reason, if we do discord-sandboxed, pgrep doesn't find the program */ +static const char *screenshotcmd[] = { "/disks/ssd-860-1tb/scripts/screenshot.sh" }; +// See /usr/include/X11/keysymdef.h for a list of keycodes static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { NULL, XK_Pause, spawn, {.v = discord_sandboxed_mute_cmd } }, + { NULL, XK_Print, spawn, {.v = screenshotcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } },