aboutsummaryrefslogtreecommitdiff
path: root/img
blob: 6fe6b38831c70a64bec15f3d06f4aa5c82af8309 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
[ -z "$5" ] && echo "Usage: $0 <image> <x> <y> <max height> <max width>" && exit
source "`ueberzug library`"

ImageLayer 0< <(
	ImageLayer::add [identifier]="example0" [x]="$2" [y]="$3" [max_width]="$5" [max_height]="$4" [path]="$1"
	read
)