added auto switch to cachy kernel

This commit is contained in:
RP1 2024-12-23 21:40:00 +01:00
parent 327ea0a10f
commit 9a56ba91ea

View file

@ -21,7 +21,7 @@ yellow=$(tput setaf 3) # ${yellow}
# Installing packages
sudo pacman -S gnome-terminal gnome-session gdm gnome-disk-utility gnome-system-monitor eog flatpak base-devel bash-completion firefox gedit gnome-calculator baobab ffmpeg git gnome-control-center gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel spice-vdagent hblock nano qt5-wayland meson rsync zenity --noconfirm
sudo pacman -S gnome-terminal gnome-session gdm gnome-disk-utility gnome-system-monitor eog flatpak base-devel bash-completion firefox gedit gnome-calculator baobab ffmpeg git gnome-control-center gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel spice-vdagent hblock nano qt5-wayland meson rsync zenity amd-ucode intel-ucode --noconfirm
sudo systemctl enable gdm.service
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
@ -62,6 +62,7 @@ yellow=$(tput setaf 3) # ${yellow}
echo ---------------------------------------------
echo
# CachyOS Kernel install
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
@ -73,6 +74,9 @@ yellow=$(tput setaf 3) # ${yellow}
sleep 2
cd -
sudo pacman -S linux-cachyos linux-cachyos-headers --noconfirm
kernel-install add-all
sudo mv *-cachyos.conf linux-cachyos.conf
echo "default linux-cachyos.conf" | sudo tee -a /boot/loader/loader.conf
echo ${bold}${yellow}CachyOS - Gaming Kernel ${normal}installed.
echo ---------------------------------------------
@ -103,6 +107,8 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
sudo rsync -ap --info=progress2 raveos-bg.png /usr/share/backgrounds/
cp -a /home/$USER/cosmetics/.icons /home/$USER/
cp -a /home/$USER/cosmetics/.themes /home/$USER/
sudo sed -i 's/ / /' /boot/loader/entries/
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
# Adding Custom rave command