FOLDER=~/Screenshots/uploaded_screenshots/ SCRIPT_PATH=~/.scripts/bashed-catbox.sh flameshot gui -s --path $FOLDER file_path=$(ls $FOLDER -Art | tail -n 1 | xargs -I {} realpath "$FOLDER/{}") "$SCRIPT_PATH" file -s "$file_path" | xclip