From 300570255d014d5249177c03afcd6063e86171a5 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 29 Aug 2020 13:52:27 +0200 Subject: [PATCH 1/3] Added auto-cpufreq --- arch-setup/install.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index 462de088..675e2dd4 100644 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -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) @@ -411,6 +426,18 @@ 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" From 572167c5e53c2586c46519aa1af14394be975b93 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 29 Aug 2020 13:52:48 +0200 Subject: [PATCH 2/3] removed empty line --- arch-setup/install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index 675e2dd4..df23776f 100644 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -437,7 +437,6 @@ else echo "Skipping auto-cpufreq" fi - #stats if [ $in_pkgstats -eq 1 ]; then echo "Installing pkgstats" From bcaa8c3b9ad58420e6906a71e8a0ac68ec4b562b Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 29 Aug 2020 13:59:56 +0200 Subject: [PATCH 3/3] Added nextcloud --- arch-setup/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index df23776f..77c79f20 100644 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -222,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