chmod +x all scripts
This commit is contained in:
2
scripts/edit-last-screenshot.sh
Normal file → Executable file
2
scripts/edit-last-screenshot.sh
Normal file → Executable file
@@ -5,7 +5,7 @@ SCREENSHOTS_DIR="$HOME/Pictures/Screenshots"
|
||||
LAST_SCREENSHOT=$(ls -t "$SCREENSHOTS_DIR" | head -n 1)
|
||||
|
||||
if [[ -n "$LAST_SCREENSHOT" ]]; then
|
||||
swappy -f "$SCREENSHOTS_DIR/$LAST_SCREENSHOT" -o "$SCREENSHOTS_DIR/$LAST_SCREENSHOT"
|
||||
swappy -f "$SCREENSHOTS_DIR/$LAST_SCREENSHOT" # -o "$SCREENSHOTS_DIR/$LAST_SCREENSHOT"
|
||||
else
|
||||
notify-send -u critical -t 3 "Error" "Can't find screenshot :("
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user