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.
This commit is contained in:
Donovan Glover
2022-03-13 17:45:39 -04:00
parent ca32f737a6
commit 582e282778

View File

@ -7,4 +7,4 @@ SCREENSHOT_SCALE=$(($SCREENSHOT_DPI / 96))
DATETIME=`date +%F_%H%M%S` DATETIME=`date +%F_%H%M%S`
shotgun ~/$DATETIME.png 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"