diff --git a/.local/share/scripts/take-screenshot.sh b/.local/share/scripts/take-screenshot.sh index bde400e..180b47d 100755 --- a/.local/share/scripts/take-screenshot.sh +++ b/.local/share/scripts/take-screenshot.sh @@ -14,5 +14,5 @@ filename="$(date +"%d-%m-%y-%H-%M-%Z").png" mv $TMPDIR/* "$TMPDIR/$filename" -printf "$TMPDIR/$filename" +printf "%s\n" "$TMPDIR/$filename" diff --git a/.local/share/scripts/take-selected-screenshot.sh b/.local/share/scripts/take-selected-screenshot.sh index 9ebe07a..b9dea1d 100755 --- a/.local/share/scripts/take-selected-screenshot.sh +++ b/.local/share/scripts/take-selected-screenshot.sh @@ -11,5 +11,5 @@ screenshotFile=$($SCRIPTPATH/take-screenshot.sh) mv "$screenshotFile" "$SCREENSHOT_DIR" rm -rf "$(dirname $screenshotFile)" -printf "$SCREENSHOT_DIR/$(basename $screenshotFile)" +printf "%s\n" "$SCREENSHOT_DIR/$(basename $screenshotFile)"