Skip to content

Commit f687b7f

Browse files
authored
Fix_savetoclipboard (#24)
1 parent 18c3ddd commit f687b7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wshot.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ fi
164164

165165
if [ -z "$destination" ] || [ "$destination" == "$_clipboard" ];then
166166
if [ -z "$GEO" ]; then
167-
grim $OPTION -t $filetype - | wl-copy;
167+
grim $OPTION -t $filetype - | wl-copy -t image/"$filetype";
168168
else
169-
grim $OPTION -t $filetype -g "$GEO" - | wl-copy;
169+
grim $OPTION -t $filetype -g "$GEO" - | wl-copy -t image/"$filetype";
170170
fi
171171
notify-send -t 3000 -a Wshot -i /usr/share/pixmaps/wshot.png "$_shotToClip"
172172
else

0 commit comments

Comments
 (0)