From 281bd2d3909fe09aa1c7b29f76fc5ea837e80625 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 5 Sep 2023 15:16:45 -0500 Subject: [PATCH] fix(hypr): make screen cap put correct mimetype in for gifs --- dots/.config/hypr/scripts/screen-cap.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/hypr/scripts/screen-cap.bash b/dots/.config/hypr/scripts/screen-cap.bash index 506635bb..d8a3d2b3 100755 --- a/dots/.config/hypr/scripts/screen-cap.bash +++ b/dots/.config/hypr/scripts/screen-cap.bash @@ -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