mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-16 10:58:15 +01:00
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:
parent
ca32f737a6
commit
582e282778
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user