From 4481d5a0406823b07367f62e65be68070bc9f3fd Mon Sep 17 00:00:00 2001 From: Mateja Date: Thu, 5 Aug 2021 14:18:50 +0200 Subject: Repository renaming changes. --- README.md | 2 +- debian-setup.sh | 253 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ setup.sh | 253 -------------------------------------------------------- 3 files changed, 254 insertions(+), 254 deletions(-) create mode 100755 debian-setup.sh delete mode 100755 setup.sh diff --git a/README.md b/README.md index e5891f7..7d9be24 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # About this project -This script installs my [dotfiles](https://github.com/MatejaMaric/dotfiles) and software I use on Debian 10. +Scripts in this repository install software that I use and setup my [dotfiles](https://github.com/MatejaMaric/dotfiles). diff --git a/debian-setup.sh b/debian-setup.sh new file mode 100755 index 0000000..8594a46 --- /dev/null +++ b/debian-setup.sh @@ -0,0 +1,253 @@ +#!/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 < /tmp/sources.list < /tmp/sources.list < /tmp/qtile.desktop <