Fix quotes
This commit is contained in:
parent
83dcdb42f4
commit
d656639728
3 changed files with 1 additions and 1 deletions
BIN
2016-10-02-232858_3200x1800_scrot.png
Normal file
BIN
2016-10-02-232858_3200x1800_scrot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 434 KiB |
BIN
2016-10-02-232906_3200x1800_scrot.png
Normal file
BIN
2016-10-02-232906_3200x1800_scrot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 438 KiB |
2
neofetch
2
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"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue