This commit is contained in:
committer@tuxwarrior
2026-02-27 18:58:35 -05:00
parent 9c564be381
commit 5f9e4134d4
4 changed files with 27 additions and 28 deletions

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -eu
[[ "$(file -Lb --mime-type "$1")" =~ ^image ]] || exit 1
exec /path/to/kitty-0.26.5/bin/kitty +kitten icat --silent --transfer-mode file --place "${2}x${3}@${4}x${5}" "$1"