ascii-photobooth/install-deps.sh

14 lines
506 B
Bash
Executable File

#/bin/bash
./yay-installer.sh
yay -Syu fswebcam ascii-image-converter
# lp group membership grants write access to /dev/lp0 for txt2printr.sh
if ! groups "$USER" | grep -qw lp; then
sudo usermod -aG lp "$USER"
echo "Added $USER to the lp group - log out and back in for this to take effect"
fi
# parport/parport_pc expose the parallel port as /dev/lp0 via the lp driver
sudo modprobe parport parport_pc lp
echo -e "parport\nparport_pc\nlp" | sudo tee /etc/modules-load.d/parport.conf > /dev/null