New beggining.

This commit is contained in:
Crony Akatsuki 2022-12-26 14:20:37 +01:00
commit 6964b2b200
33 changed files with 1281 additions and 0 deletions

11
kitty-img-previewer Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
[ ! -z "$2" ] && w="$2" || w=$(($(tput cols) / 2 ))
[ ! -z "$3" ] && h="$3" || h=$(($(tput lines) / 2 ))
[ ! -z "$4" ] && x="$4" || x=$(($(tput cols) / 2 + 2))
[ ! -z "$5" ] && y="$5" || y="1"
kitty +icat --clear --silent --transfer-mode file
kitty +icat --silent --transfer-mode file --align=left --place ${w}x${h}@${x}x${y} "$1"
exit 1