dotfiles.git

commit a0f94e2b5d6f5066004d5510fbed1d411fed8f64

Author: Adam Evyčędo <git@apiote.xyz>

fix photosArchive

 .config/sh/functions | 2 +-


diff --git a/.config/sh/functions b/.config/sh/functions
index 707676ca62fb85b3127fce97947471deba863e56..9a39451673ae2c7786551c85b1ca713112179ddc 100644
--- a/.config/sh/functions
+++ b/.config/sh/functions
@@ -808,7 +808,7 @@ 		cwebp "$x" -metadata all -o "${name}.webp" || (mv "$x" "$x.webp" && rm "${name}.webp")
 	done
 
 	printf "Encoding to webm\n"
-	for x in `ls | grep mp4`
+	for x in ./*.mp4
 	do
 		toAV1 $x
 	done