From 93ba927bc24af0dca2f4716f7a70674c977d95cb Mon Sep 17 00:00:00 2001 From: synt-xerror <169557594+synt-xerror@users.noreply.github.com> Date: Sat, 14 Feb 2026 14:35:51 -0300 Subject: [PATCH] Adding new command to print selected area --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index ce3cfe9..ae57652 100644 --- a/config.h +++ b/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 */