diff --git a/config.def.h b/config.def.h index 7b02426..05c7b48 100644 --- a/config.def.h +++ b/config.def.h @@ -111,6 +111,7 @@ static const Key keys[] = { TAGKEYS( 17, 7) // 8 TAGKEYS( 18, 8) // 9 { 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 */ diff --git a/config.h b/config.h index 7b02426..05c7b48 100644 --- a/config.h +++ b/config.h @@ -111,6 +111,7 @@ static const Key keys[] = { TAGKEYS( 17, 7) // 8 TAGKEYS( 18, 8) // 9 { 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 */ diff --git a/dwm b/dwm index f31c58a..5e37591 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.o b/dwm.o index 7667ec3..66b2969 100644 Binary files a/dwm.o and b/dwm.o differ