printscreen added

This commit is contained in:
Filip Rojek 2022-11-08 17:07:46 +01:00
parent 1b4c602db6
commit 8bf767ee1e
4 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,7 @@ static const Key keys[] = {
TAGKEYS( 17, 7) // 8 TAGKEYS( 17, 7) // 8
TAGKEYS( 18, 8) // 9 TAGKEYS( 18, 8) // 9
{ MODKEY|ShiftMask, 24, quit, {0} }, // q { MODKEY|ShiftMask, 24, quit, {0} }, // q
{ 0, 107, spawn, SHCMD("shotgun $(slop -f '-i %i -g %g') - | tee /home/$USER/Pictures/Screenshots/$(date +'%F_%T').png | xclip -t 'image/png' -selection c") },
}; };
/* button definitions */ /* button definitions */

View File

@ -111,6 +111,7 @@ static const Key keys[] = {
TAGKEYS( 17, 7) // 8 TAGKEYS( 17, 7) // 8
TAGKEYS( 18, 8) // 9 TAGKEYS( 18, 8) // 9
{ MODKEY|ShiftMask, 24, quit, {0} }, // q { MODKEY|ShiftMask, 24, quit, {0} }, // q
{ 0, 107, spawn, SHCMD("shotgun $(slop -f '-i %i -g %g') - | tee /home/$USER/Pictures/Screenshots/$(date +'%F_%T').png | xclip -t 'image/png' -selection c") },
}; };
/* button definitions */ /* button definitions */

BIN
dwm

Binary file not shown.

BIN
dwm.o

Binary file not shown.