aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
Diffstat (limited to 'img')
-rwxr-xr-ximg8
1 files changed, 8 insertions, 0 deletions
diff --git a/img b/img
new file mode 100755
index 0000000..6fe6b38
--- /dev/null
+++ b/img
@@ -0,0 +1,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
+)