From f67a8e5f80a8de4ab7c60e500258ef32662bc811 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Thu, 2 Apr 2020 12:49:11 +0100 Subject: [PATCH] scripts/screenshot: reduce window shadow to 60% opacity --- scripts/screenshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/screenshot b/scripts/screenshot index bc9915f..1c99fc7 100755 --- a/scripts/screenshot +++ b/scripts/screenshot @@ -54,7 +54,7 @@ fi # If the screenshot is a complete window, add a shadow if [ "$isroot" != "1" ]; then # but don't worry if it fails - convert "$out_path" \( +clone -background black -alpha set -channel Alpha -evaluate set 80% -shadow 100x16+0+0 \) +swap -background none -layers merge +repage "$out_path" || : + convert "$out_path" \( +clone -background black -alpha set -channel Alpha -evaluate set 60% -shadow 100x16+0+0 \) +swap -background none -layers merge +repage "$out_path" || : fi notif_id=$(send_notification "Screenshot uploading" "$FILENAME

The image is available in the clipboard immediately" || true)