Adding new command to print selected area
This commit is contained in:
4
config.h
4
config.h
@@ -70,7 +70,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn()
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_black, "-nf", col_gray3, "-sb", col_gray4, "-sf", col_gray4, NULL };
|
||||
static const char *roficmd[] = { "rofi", "-show", "drun", NULL };
|
||||
static const char *printcmd_a[] = { "prtscr", NULL };
|
||||
// static const char *printcmd_sel[] = { "prtscr", "s", NULL };
|
||||
static const char *printcmd_sel[] = { "prtscr", "s", NULL };
|
||||
|
||||
static const Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
@@ -110,7 +110,7 @@ static const Key keys[] = {
|
||||
{ 0, XK_Scroll_Lock, spawn, {.v = ledcmd } },
|
||||
{ MODKEY, XK_d, spawn, {.v = roficmd } },
|
||||
{ 0, XK_Print, spawn, {.v = printcmd_a } },
|
||||
//{ MODKEY, XK_Print, spawn, {.v = printcmd_sel } },
|
||||
{ MODKEY, XK_Print, spawn, {.v = printcmd_sel } },
|
||||
};
|
||||
|
||||
/* button definitions */
|
||||
|
||||
Reference in New Issue
Block a user