diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-01-29 18:44:08 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-01-29 18:44:08 +0100 |
commit | 3c6c62ad079454c8ca1c91e153ac48f8216c3694 (patch) | |
tree | 1da550aec302d6c8ca73e9f81fe263f86fe1e503 /img | |
parent | da8c4b7b65235909b7c03da480689d9d871f8d59 (diff) | |
download | scripts-3c6c62ad079454c8ca1c91e153ac48f8216c3694.tar.gz scripts-3c6c62ad079454c8ca1c91e153ac48f8216c3694.zip |
Created scripts for ueberzug and opening files as pdf.
Diffstat (limited to 'img')
-rwxr-xr-x | img | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 +) |