diff --git a/config.def.h b/config.def.h index 80a10cf..9784ca6 100644 --- a/config.def.h +++ b/config.def.h @@ -148,7 +148,7 @@ static const char *scratchpadcmd[] = {"s", "ghostty", "--x11-instance-name=spter */ static char *tagicons[][NUMTAGS] = { - [DEFAULT_TAGS] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }, + [DEFAULT_TAGS] = { "", "", "", "", "", "", "", "", "" }, [ALTERNATIVE_TAGS] = { "A", "B", "C", "D", "E", "F", "G", "H", "I" }, [ALT_TAGS_DECORATION] = { "<1>", "<2>", "<3>", "<4>", "<5>", "<6>", "<7>", "<8>", "<9>" }, }; @@ -258,6 +258,7 @@ static const char *termcmd[] = { "ghostty", NULL }; static const char *term2cmd[] = { "kitty", NULL }; static const char *wallpapercmd[]= { "/home/ganome/.local/bin/wallsetter.dwm", NULL }; static const char *browsercmd[]= { "librewolf", NULL }; +static const char *screenshotcmd[] = { "flameshot", "gui", NULL }; static const char *roficmd[] = { "rofi", @@ -332,6 +333,7 @@ static const Key keys[] = { { 0, XF86XK_AudioPause, spawn, SHCMD("exec playerctl play-pause")}, { 0, XF86XK_AudioNext, spawn, SHCMD("exec playerctl next")}, { 0, XF86XK_AudioPrev, spawn, SHCMD("exec playerctl previous")}, + { 0, XK_Print, spawn, {.v = screenshotcmd } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) diff --git a/config.h b/config.h index 80a10cf..9784ca6 100644 --- a/config.h +++ b/config.h @@ -148,7 +148,7 @@ static const char *scratchpadcmd[] = {"s", "ghostty", "--x11-instance-name=spter */ static char *tagicons[][NUMTAGS] = { - [DEFAULT_TAGS] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }, + [DEFAULT_TAGS] = { "", "", "", "", "", "", "", "", "" }, [ALTERNATIVE_TAGS] = { "A", "B", "C", "D", "E", "F", "G", "H", "I" }, [ALT_TAGS_DECORATION] = { "<1>", "<2>", "<3>", "<4>", "<5>", "<6>", "<7>", "<8>", "<9>" }, }; @@ -258,6 +258,7 @@ static const char *termcmd[] = { "ghostty", NULL }; static const char *term2cmd[] = { "kitty", NULL }; static const char *wallpapercmd[]= { "/home/ganome/.local/bin/wallsetter.dwm", NULL }; static const char *browsercmd[]= { "librewolf", NULL }; +static const char *screenshotcmd[] = { "flameshot", "gui", NULL }; static const char *roficmd[] = { "rofi", @@ -332,6 +333,7 @@ static const Key keys[] = { { 0, XF86XK_AudioPause, spawn, SHCMD("exec playerctl play-pause")}, { 0, XF86XK_AudioNext, spawn, SHCMD("exec playerctl next")}, { 0, XF86XK_AudioPrev, spawn, SHCMD("exec playerctl previous")}, + { 0, XK_Print, spawn, {.v = screenshotcmd } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) diff --git a/dwm b/dwm index 87e8a03..adcb2b5 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.o b/dwm.o index 9e85ddb..e7f4ed8 100644 Binary files a/dwm.o and b/dwm.o differ