Update install.sh

This commit is contained in:
2024-05-16 13:20:30 +02:00
parent 735c012e4f
commit a5edeaa454

View File

@@ -7,11 +7,18 @@
# Resource links to source
# https://qtile.org
#
# Rofi - Run menu
# https://github.com/ericmurphyxyz/rofi-wifi-menu
#
#
# autorandr
# Autorandr “fingerprints” displays connected to the system and associate them
# with their current X11 server settings in “profiles” which are automatically applied each time a fingerprint is matched.
# Use "arandr" to set the Screens as you want them and then save them to a profile with "autorandr --save PROFILENAME"
# autorandr --save PROFILENAME
# autorandr --remove PROFILENAME
# autorandr --default PROFILENAME
# Whiptail colors
export NEWT_COLORS='
@@ -75,18 +82,20 @@ fi
# Install choice questions yes-no
questions=("Do you want to install XRDP Remote desktop" \
"Install Google Chrome" \
"Install Kitty terminal or use XTerm" \
questions=("Do you want to install Kitty terminal or use XTerm" \
"Is this a laptop we are installing on!" \
"Install XRDP Remote desktop" \
"Install Thunar file manager" \
"Install Google Chrome" \
)
commands=("sudo apt install -y xrdp && sudo systemctl restart xrdp.service" \
"cd /tmp/ && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo apt install -y /tmp/google-chrome-stable_current_amd64.deb && rm google-chrome-stable_current_amd64.deb" \
"sudo apt install -y kitty" \
commands=("sudo apt install -y kitty" \
"sudo apt install -y tlp tlp-rdw" \
"sudo apt install -y xrdp && sudo systemctl restart xrdp.service" \
"sudo apt install -y thunar" \
"cd /tmp/ && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo apt install -y /tmp/google-chrome-stable_current_amd64.deb && rm google-chrome-stable_current_amd64.deb" \
)
# Array to store user choices
# Array to store install user choices
choices=()
# Loop through questions
@@ -123,7 +132,7 @@ sudo apt update
# -------------------------------------------------------------------------------------------------
echo -e "${YELLOW} Core System APT install ${NC}"
sudo apt install -y xserver-xorg x11-utils xinit arandr autorandr picom mesa-utils htop feh wget curl git alsa-utils alsa-tools pulseaudio numlockx cups xsensors xbacklight brightnessctl unzip network-manager dunst libnotify-bin notify-osd xautolock xsecurelock pm-utils rofi fontconfig fontconfig-config fonts-dejavu-core libfontconfig1
sudo apt install -y xserver-xorg x11-utils xinit arandr autorandr picom fwupd mesa-utils htop feh wget curl git alsa-utils alsa-tools pulseaudio numlockx cups xsensors xbacklight brightnessctl unzip network-manager dunst libnotify-bin notify-osd xautolock xsecurelock pm-utils rofi fontconfig fontconfig-config fonts-dejavu-core libfontconfig1
sudo apt install -y sddm --no-install-recommends
sudo apt install -y nitrogen xarchiver mpv flameshot speedcrunch mc gvfs-backends mpd mpc ncmpcpp