diff options
Diffstat (limited to '.scripts/img')
-rwxr-xr-x | .scripts/img | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.scripts/img b/.scripts/img new file mode 100755 index 0000000..0cf8b0d --- /dev/null +++ b/.scripts/img @@ -0,0 +1,8 @@ +#!/bin/bash +#[ -z "$5" ] && echo "Usage: $0 <image> <x> <y> <z> <max height> <max width>" && exit +source "`ueberzug library`" + +ImageLayer 0< <( + ImageLayer::add [identifier]="example0" [x]="0" [y]="0" [max_width]="30" [max_height]="30" [path]="$1" + read +) |