commit 2ff010822d1714907d9b10a5195d7c5045c05fc9
parent c046b46913fafcd5a51c49fc39e861c5a7078c95
Author: Chris Kiriakou <chris@kiriakou.net>
Date: Sat, 19 Sep 2026 11:11:46 +0200
Add prefix to input for proper file location
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/dot-local/bin/wayshot.sh b/scripts/dot-local/bin/wayshot.sh
@@ -14,7 +14,7 @@ shoot() {
# Name screenshot
input=$(printf "" | wmenu -p "Filename: " -S 222222)
- test -n "$input" && filename="${input}.png"
+ test -n "$input" && filename="${OUTPUT_PREFIX}${input}.png"
# Take timesramp if input/name is empty
test ! -n "$input" && filename="${OUTPUT_PREFIX}${timestamp}.png"