From 067dc98e377610ceb9fac84222dd2051a7973d75 Mon Sep 17 00:00:00 2001 From: jason Date: Sat, 7 Oct 2023 10:15:29 -0600 Subject: add dunst; enable notification when uploading screenshots --- scripts/bin/linode-uploader | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/bin/linode-uploader b/scripts/bin/linode-uploader index 5ae751e..5cfe2d1 100755 --- a/scripts/bin/linode-uploader +++ b/scripts/bin/linode-uploader @@ -23,6 +23,7 @@ SIGNATURE=$(echo -en ${STRING_TO_SIGN} | openssl sha1 -hmac ${SECRET_KEY} -binar HOST="eu-central-1.linodeobjects.com" +notify-send -u low -t 2000 -a Flameshot Uploading... "Uploading screenshot" curl -X PUT -T "${file}" \ -H "Date: ${DATE}" \ -H "Content-Type: ${CONTENT_TYPE}" \ @@ -30,4 +31,5 @@ curl -X PUT -T "${file}" \ -H "Authorization: AWS ${ACCESS_KEY}:${SIGNATURE}" \ https://${HOST}${RESOURCE} echo "${VANITY_URL}/${filename}" | tr -d '\n' | xsel -b +notify-send -u low -t 2000 -a Flameshot Uploaded... "Successfully uploaded screenshot" -- cgit v1.2.1