Skip to content
Snippets Groups Projects
Commit baf0d67f authored by Samueru's avatar Samueru
Browse files

Use XDG_DATA_HOME in imgur-upload.sh

parent e0e9b77c
No related branches found
No related tags found
No related merge requests found
Pipeline #29580 passed with stages
in 2 minutes and 28 seconds
......@@ -47,7 +47,7 @@ fi
LINK="https://imgur.com/$(echo "$RESPONSE" | jq -r .data.id).png"
DELETE="https://imgur.com/delete/$(echo "$RESPONSE" | jq -r .data.deletehash)"
LOG_DIRECTORY="$HOME/.local/share/xfce4"
LOG_DIRECTORY="${XDG_DATA_HOME:-$HOME/.local/share}/xfce4"
LOG="$LOG_DIRECTORY/xfce4-screenshooter-imgur.log"
# Add link to clipboard
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment