#!/bin/bash qtile_install=false; config_install=false; termite_install=false; neovim_install=false; latex_install=false; non_free=false; nvidia_install=false; aerc_install=false; read -p "Do you want to install Qtile? " -n 1 -r echo [[ $REPLY =~ ^[Yy]$ ]] && $qtile_install=true; read -p "Do you want to install configurations? " -n 1 -r echo [[ $REPLY =~ ^[Yy]$ ]] && $config_install=true; read -p "Do you want to install termite? " -n 1 -r echo [[ $REPLY =~ ^[Yy]$ ]] && $termite_install=true; read -p "Do you want to install Neovim? " -n 1 -r echo [[ $REPLY =~ ^[Yy]$ ]] && $neovim_install=true; read -p "Do you want to install LaTeX? " -n 1 -r echo [[ $REPLY =~ ^[Yy]$ ]] && $latex_install=true; read -p "Do you want to enable non-free repos?" -n 1 -r echo [[ $REPLY =~ ^[Yy]$ ]] && $non_free=true; if [[ $non_free ]] then read -p "Do you want to install proprietary nvidia drivers? " -n 1 -r echo [[ $REPLY =~ ^[Yy]$ ]] && $nvidia_install=true; fi read -p "Do you want to install Aerc? " -n 1 -r echo [[ $REPLY =~ ^[Yy]$ ]] && $aerc_install=true; # Adding non-free repos if necessary. if [[ $non_free ]] then cat > /tmp/sources.list < /tmp/sources.list < /tmp/qtile.desktop <