dotfiles/.config/ctpv/config
2024-04-23 07:46:41 +05:00

23 lines
394 B
Plaintext

set forcekittyanim
preview audio audio/* {{
/usr/bin/vendor_perl/exiftool -- "$f"
}}
preview lua application/javascript {{
if exists bat; then
batcmd=bat
elif exists batcat; then
batcmd=batcat
else
exit 127
fi
"$batcmd" \
--color always \
--style plain \
--paging never \
--terminal-width "$w" \
--wrap character \
-- "$f"
}}