#!/usr/bin/env bash
mkdir -p ~/.config/vifm/scripts

# https://gitlab.com/dwt1/dotfiles/tree/master/.config/vifm/scripts

ALIAS_DIR=".zshrc.d"
cat > ~/${ALIAS_DIR}/005_vifm.zsh << 'EOF'
alias vifm="~/.config/vifm/scripts/vifmrun"
EOF

wget -c -P ~/.config/vifm/scripts https://gitlab.com/dwt1/dotfiles/raw/master/.config/vifm/scripts/vifmimg

wget -c -P ~/.config/vifm/scripts https://gitlab.com/dwt1/dotfiles/raw/master/.config/vifm/scripts/vifmrun

chmod +x ~/.config/vifm/scripts/vifmimg
chmod +x ~/.config/vifm/scripts/vifmrun

apt install -y python3-setuptools libjpeg-dev python3-dev

# libraqm
# libimagequant
# openjpeg
# libwebp
# littlecms
# libfreetype
# libtiff
# zlib
# libjpeg

pip3 install ueberzug 
