migrate to stow

This commit is contained in:
2022-03-20 00:37:41 +03:00
parent 8544e93367
commit 2ef5b95984
41 changed files with 351 additions and 93 deletions

14
config/.config/lf/preview.sh Executable file
View File

@@ -0,0 +1,14 @@
#! /bin/bash
file=$1
w=$2
h=$3
x=$4
y=$5
if [[ "$(file -Lb --mime-type "$file")" =~ ^image ]]; then
kitty +icat --silent --transfer-mode file --place "${w}x${h}@${x}x${y}" "$file"
exit 1
fi
pistol "$file"