diff --git a/config.h b/config.h index 56b739d..dc6b73e 100644 --- a/config.h +++ b/config.h @@ -64,6 +64,7 @@ static const char *txtcmd[] = { "obsidian", NULL }; static const char *idecmd[] = { "subl", NULL }; static const char *brightupcmd[] = { "/home/thad/brightness.sh", "+4", NULL}; static const char *brightdncmd[] = { "/home/thad/brightness.sh", "-4", NULL}; //{ "~/brightness.sh", "-2"}; +static const char *screenshotcmd[] = { "flameshot", "gui", NULL}; // something with /sys/class/backlight/intel_backlight/brightness and max_brightness static const Key keys[] = { @@ -106,6 +107,7 @@ static const Key keys[] = { { 0, 0x1008FF02, spawn, {.v = brightupcmd } }, // see XF86keysym.h { 0, 0x1008FF03, spawn, {.v = brightdncmd} }, { 0, 0x1008FF4A, spawn, {.v = dmenucmd}}, + { 0, 0xff61, spawn, {.v = screenshotcmd}}, }; /* button definitions */