From e621411d9022d92c22e970d762cf22c9716de31e Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 28 Jun 2025 01:48:42 +0400 Subject: fix(shot): append .png extension to autogenerated filenames --- scripts/shot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/shot b/scripts/shot index 1d296c8..dc1de87 100755 --- a/scripts/shot +++ b/scripts/shot @@ -42,7 +42,7 @@ shift $((OPTIND - 1)) outfile="${input}" -[ -d "${input}" ] && outfile="${input}/$(date '+%b%d::%H%M%S')" +[ -d "${input}" ] && outfile="${input}/$(date '+%b%d::%H%M%S').png" if [ ! -e "$(dirname "${outfile}")" ]; then mkdir -p "$(dirname "${outfile}")" > /dev/null 2>&1 \ -- cgit v1.2.3