dotfiles/.config/ctpv/config

23 lines
394 B
Plaintext
Raw Normal View History

2024-04-23 04:34:15 +02:00
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"
}}