Added Flameshot with GUI on PrintScreen key.
This commit is contained in:
parent
a4db29d167
commit
de28123974
@ -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)
|
||||
|
||||
4
config.h
4
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user