added mkdir to for screenshot

This commit is contained in:
Niklas 2020-09-29 15:46:36 +02:00
parent 0ff7f0cdbc
commit 452d53614f

View File

@ -8,6 +8,8 @@ SCREENSHOT_DIR="$HOME/pictures/screenshots"
screenshotFile=$($SCRIPTPATH/take-screenshot.sh)
mkdir -p "$SCREENSHOT_DIR"
mv "$screenshotFile" "$SCREENSHOT_DIR"
rm -rf "$(dirname $screenshotFile)"