1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

scripts/screenshot: fix putting capture in clipboard

This commit is contained in:
Joe Groocock 2019-04-24 10:42:05 +01:00
parent 6c19740e21
commit d6289c47ba
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -40,7 +40,7 @@ fi
notif_id=$(send_notification "Screenshot uploading" "$FILENAME<br><br>The image is available in the clipboard immediately" || true)
# Add image to clipboard
xclip -i "$out_path" -selection primary -t image/png
xclip -i "$out_path" -selection clipboard -t image/png
# 'Upload' the screenshot
if ! error=$(scp -C $out_path $SCP_HOST:$SCP_PATH 2>&1); then