mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-30 22:40:09 +02: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:
@ -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"
|
||||||
|
Reference in New Issue
Block a user