fix(hypr): make screen cap put correct mimetype in for gifs

This commit is contained in:
Price Hiller 2023-09-05 15:16:45 -05:00
parent be90f4ebf0
commit 281bd2d390
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -45,7 +45,7 @@ mk-video() {
pwd
gifski_tmpoutput="${tmp_dir}/$(mktemp gifski.XXXXXXXXXXX).gif"
gifski "${input_tmpfile}" --output "${gifski_tmpoutput}"
wl-copy --type image/png <"${gifski_tmpoutput}"
wl-copy --type image/gif <"${gifski_tmpoutput}"
else
wl-copy --type video/mp4 <"${input_tmpfile}"
fi