From 582e2827780b58053e5d4c0ab344103336c29ed1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 13 Mar 2022 17:45:39 -0400 Subject: [PATCH] sxhkd: Show notification instead of image on screenshot This lets us take advantage of screenshots in full screen applications, without the interruption that another window would provide. --- sxhkd/.config/sxhkd/screenshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sxhkd/.config/sxhkd/screenshot.sh b/sxhkd/.config/sxhkd/screenshot.sh index f6a5821..737be69 100755 --- a/sxhkd/.config/sxhkd/screenshot.sh +++ b/sxhkd/.config/sxhkd/screenshot.sh @@ -7,4 +7,4 @@ SCREENSHOT_SCALE=$(($SCREENSHOT_DPI / 96)) DATETIME=`date +%F_%H%M%S` shotgun ~/$DATETIME.png -feh ~/$DATETIME.png --geometry $((1600 * $SCREENSHOT_SCALE))x$((900 * $SCREENSHOT_SCALE)) --scale-down +notify-send -t 2000 "Screenshot saved as" "$DATETIME.png"