created
This commit is contained in:
commit
62dab95e70
249 changed files with 12522 additions and 0 deletions
13
.config/lf/lf_kitty_preview
Executable file
13
.config/lf/lf_kitty_preview
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
file=$1
|
||||
w=$2
|
||||
h=$3
|
||||
x=$4
|
||||
y=$5
|
||||
|
||||
if [[ "$( file -Lb --mime-type "$file")" =~ ^image ]]; then
|
||||
kitty +kitten icat --silent --stdin no --transfer-mode file --place "${w}x${h}@${x}x${y}" "$file" < /dev/null > /dev/tty
|
||||
exit 1
|
||||
fi
|
||||
|
||||
pistol "$file"
|
Loading…
Add table
Add a link
Reference in a new issue