diff --git a/2016-10-02-232858_3200x1800_scrot.png b/2016-10-02-232858_3200x1800_scrot.png new file mode 100644 index 00000000..154a3e63 Binary files /dev/null and b/2016-10-02-232858_3200x1800_scrot.png differ diff --git a/2016-10-02-232906_3200x1800_scrot.png b/2016-10-02-232906_3200x1800_scrot.png new file mode 100644 index 00000000..c5ee5623 Binary files /dev/null and b/2016-10-02-232906_3200x1800_scrot.png differ diff --git a/neofetch b/neofetch index 2bd4931d..9b390b6f 100755 --- a/neofetch +++ b/neofetch @@ -2313,7 +2313,7 @@ scrot_upload() { ;; "imgur") - image_url="$(curl -sH "Authorization: Client-ID $imgur_client_id" -F "image=@${image_file}" "https://api.imgur.com/3/upload")" + image_url="$(curl -sH "Authorization: Client-ID $imgur_client_id" -F image="@${image_file}" "https://api.imgur.com/3/upload")" image_url="$(awk -F 'id:|,' '{printf $2}' <<< "${image_url//\"}")" [ "$image_url" ] && image_url="https://i.imgur.com/${image_url}.png" ;;