summaryrefslogtreecommitdiff
path: root/scripts/shot
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-06-28 01:48:42 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-06-28 01:48:42 +0400
commite621411d9022d92c22e970d762cf22c9716de31e (patch)
tree385daf5fcde603ce9edab68883709fdf24baf5f0 /scripts/shot
parent361bb9c6df46a6f6c7df3f008087ce8f8a372357 (diff)
fix(shot): append .png extension to autogenerated filenames
Diffstat (limited to 'scripts/shot')
-rwxr-xr-xscripts/shot2
1 files changed, 1 insertions, 1 deletions
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 \