Merge branch 'testing' into 'master'

Testing

See merge request RealStickman-arcolinux/setup!2
This commit is contained in:
RealStickman 2020-08-29 12:38:45 +00:00
commit e1565f0288

View File

@ -180,6 +180,21 @@ do
esac
done
in_acpufreq=0
cmd=(dialog --separate-output --checklist "Performance and Battery life" 22 76 16)
options=(1 "auto-cpufreq" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
do
case $choice in
1)
in_acpufreq=1
;;
esac
done
in_pkgstats=0
cmd=(dialog --separate-output --checklist "Report installed packages?" 22 76 16)
@ -207,7 +222,7 @@ echo Updated packages
#pacman programs
echo Installing default pacman programs
sudo pacman -S --needed arandr libreoffice-fresh-de termite neofetch wget picom stress obs-studio python-pip hunspell hunspell-de hyphen hyphen-de fish psensor transmission-qt smartmontools thunderbird ffmpeg jre-openjdk thunar gtk-engine-murrine iperf3 celluloid nload languagetool dmenu rofi
sudo pacman -S --needed arandr libreoffice-fresh-de termite neofetch wget picom stress obs-studio python-pip hunspell hunspell-de hyphen hyphen-de fish psensor transmission-qt smartmontools thunderbird ffmpeg jre-openjdk thunar gtk-engine-murrine iperf3 celluloid nload languagetool dmenu rofi nextcloud-client
echo Installed official programs
#AUR
@ -411,6 +426,17 @@ else
echo "Skipping Bettergram"
fi
#performance and battery life
if [ $in_acpufreq -eq 1 ]; then
echo "Installing auto-cpufreq"
sudo yay -S auto-cpufreq-git
sudo auto-cpufreq --install
sudo systemctl start auto-cpufreq
sudo systemctl enable auto-cpufreq
else
echo "Skipping auto-cpufreq"
fi
#stats
if [ $in_pkgstats -eq 1 ]; then
echo "Installing pkgstats"