1
0
Fork 0

Pass imagemagick arguments down to screenshot

This commit is contained in:
Jeremy Kaplan 2019-02-06 11:25:00 -08:00 committed by Jeremy Kaplan
commit 2dc1b3c6ae

View file

@ -15,7 +15,7 @@ alias timestamp='date "+%Y-%m-%d_%H-%M-%S"'
screenshot() { screenshot() {
local ts="$(timestamp)" local ts="$(timestamp)"
local f="${HOME}/images/screenshots/${ts}.png" local f="${HOME}/images/screenshots/${ts}.png"
import "$f" import "$@" "$f"
echo "$f" echo "$f"
} }