Move Arch system essentials to separate script

This commit is contained in:
Manuel Thalmann 2024-03-07 21:39:23 +01:00
parent b086db76ff
commit 5cb9e1fad8
4 changed files with 10 additions and 7 deletions

View file

@ -1,13 +1,12 @@
#!/bin/bash #!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null; pushd "${BASH_SOURCE%/*}" > /dev/null;
. "../../../scripts/Arch/Software/yay/install.sh"; . "../../../scripts/Arch/OS/install.sh";
. "../../../scripts/Arch/Software/GRUB/install.sh"; . "../../../scripts/Arch/Software/GRUB/install.sh";
. "../../../scripts/Arch/Config/SecureBoot/install.sh"; . "../../../scripts/Arch/Config/SecureBoot/install.sh";
. "../../../scripts/Arch/Software/nvidia-dkms/install.sh"; . "../../../scripts/Arch/Software/nvidia-dkms/install.sh";
. "../../../scripts/Arch/Software/xone/install.sh"; . "../../../scripts/Arch/Software/xone/install.sh";
. "../../../scripts/Arch/Software/bt-dualboot/install.sh"; . "../../../scripts/Arch/Software/bt-dualboot/install.sh";
. "../../../scripts/Arch/Software/sddm/install.sh";
. "../../../scripts/Arch/Config/ssh-agent/install.sh"; . "../../../scripts/Arch/Config/ssh-agent/install.sh";
. "../../../scripts/Arch/Collections/personal.sh"; . "../../../scripts/Arch/Collections/personal.sh";

View file

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null; pushd "${BASH_SOURCE%/*}" > /dev/null;
. "../../../scripts/Arch/OS/install.sh";
. "../../../scripts/Arch/Config/SecureBoot/install.sh"; . "../../../scripts/Arch/Config/SecureBoot/install.sh";
. "../../../scripts/Arch/Devices/SurfaceBook2/install.sh"; . "../../../scripts/Arch/Devices/SurfaceBook2/install.sh";
. "../../../scripts/Arch/Software/sddm/install.sh";
. "../../../scripts/Arch/Config/ssh-agent/install.sh"; . "../../../scripts/Arch/Config/ssh-agent/install.sh";
. "../../../scripts/Arch/Collections/school.sh"; . "../../../scripts/Arch/Collections/school.sh";

View file

@ -1,8 +1,6 @@
#!/bin/bash #!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null; pushd "${BASH_SOURCE%/*}" > /dev/null;
. "../Config/pacman/install.sh"; . "../Config/pacman/install.sh";
. "../Software/base-devel/install.sh";
. "../Software/yay/install.sh";
# Firmware # Firmware
yay --noconfirm -Syu mkinitcpio-firmware; yay --noconfirm -Syu mkinitcpio-firmware;
@ -37,11 +35,10 @@ sudo chsh $USER --shell "$(which fish)";
# User Interface # User Interface
yay --noconfirm -Syu \ yay --noconfirm -Syu \
sddm \
maliit-keyboard \ maliit-keyboard \
; ;
. ../Config/sddm/install.sh; . ../Software/sddm/install.sh;
. ../Software/KDE/install.sh; . ../Software/KDE/install.sh;
yay --noconfirm -Syu power-profiles-daemon; yay --noconfirm -Syu power-profiles-daemon;

7
scripts/Arch/OS/install.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
. "../Software/base-devel/install.sh";
. "../Software/yay/install.sh";
popd > /dev/null;