Merge branch 'testing' into 'master'
Testing See merge request RealStickman-arcolinux/setup!2
This commit is contained in:
commit
e1565f0288
@ -180,6 +180,21 @@ do
|
|||||||
esac
|
esac
|
||||||
done
|
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
|
in_pkgstats=0
|
||||||
|
|
||||||
cmd=(dialog --separate-output --checklist "Report installed packages?" 22 76 16)
|
cmd=(dialog --separate-output --checklist "Report installed packages?" 22 76 16)
|
||||||
@ -207,7 +222,7 @@ echo Updated packages
|
|||||||
|
|
||||||
#pacman programs
|
#pacman programs
|
||||||
echo Installing default 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
|
echo Installed official programs
|
||||||
|
|
||||||
#AUR
|
#AUR
|
||||||
@ -411,6 +426,17 @@ else
|
|||||||
echo "Skipping Bettergram"
|
echo "Skipping Bettergram"
|
||||||
fi
|
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
|
#stats
|
||||||
if [ $in_pkgstats -eq 1 ]; then
|
if [ $in_pkgstats -eq 1 ]; then
|
||||||
echo "Installing pkgstats"
|
echo "Installing pkgstats"
|
||||||
|
Loading…
Reference in New Issue
Block a user