Pass imagemagick arguments down to screenshot
This commit is contained in:
parent
41e5ca43b6
commit
2dc1b3c6ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue