Flameshot Autostart & Shortcut

- Add flameshot to autostart script
- Bind print screen button to open flameshot gui
This commit is contained in:
Sravan Balaji
2020-08-09 11:30:49 -04:00
parent 8fe17768f7
commit 99a906d9e3
2 changed files with 3 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ static const char *mutevolcmd[] = { "/usr/bin/pactl", "set-sink-mute", "@DEF
static const char *playerplaypausecmd[] = { "playerctl", "--player=playerctld", "play-pause", NULL };
static const char *playernextcmd[] = { "playerctl", "--player=playerctld", "next", NULL };
static const char *playerprevcmd[] = { "playerctl", "--player=playerctld", "previous", NULL };
static const char *flameshotcmd[] = { "flameshot", "gui", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -116,6 +117,7 @@ static Key keys[] = {
{ 0, XF86XK_AudioPlay, spawn, {.v = playerplaypausecmd} },
{ 0, XF86XK_AudioNext, spawn, {.v = playernextcmd} },
{ 0, XF86XK_AudioPrev, spawn, {.v = playerprevcmd} },
{ 0, XK_Print, spawn, {.v = flameshotcmd} },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)