From 66bf26d74fd3230a63c26b602573dddfee36cb64 Mon Sep 17 00:00:00 2001 From: Niklas Date: Tue, 14 Jul 2020 18:58:37 +0200 Subject: [PATCH] added newline at end of output --- .local/share/scripts/take-screenshot.sh | 2 +- .local/share/scripts/take-selected-screenshot.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)"