2024-11-10 13:58:16 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# TODO should be applicable to other package managers (dnf, apt, ..)
|
2024-11-11 05:45:38 +00:00
|
|
|
# v--- this is for potential future ideas
|
|
|
|
# flatpak uninstall $(flatpak list --columns=application | grep -i turtle)
|
2024-11-11 16:02:53 +00:00
|
|
|
# power management (install this first) https://github.com/FlyGoat/RyzenAdj
|
|
|
|
# power management (install this second) https://github.com/aarron-lee/SimpleDeckyTDP
|
2024-11-11 05:45:38 +00:00
|
|
|
|
2024-11-10 13:58:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
main(){
|
2024-11-11 05:45:38 +00:00
|
|
|
if [[ "$(whoami)" != "root" ]];then
|
|
|
|
bash ./error.sh "Must be root (current: $USER)";
|
|
|
|
exit 1;
|
|
|
|
fi
|
|
|
|
|
2024-11-10 13:58:16 +00:00
|
|
|
_update_pac
|
|
|
|
bash ./dots.sh;
|
|
|
|
bash ./cli.sh;
|
|
|
|
bash ./non_pac.sh;
|
|
|
|
bash ./apps.sh;
|
|
|
|
bash ./post_setup.sh;
|
|
|
|
}
|
|
|
|
|
|
|
|
_update_pac(){
|
2024-11-11 05:45:38 +00:00
|
|
|
pacman -Fy --noconfirm
|
|
|
|
pacman -Syu --noconfirm
|
2024-11-10 13:58:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main;
|