forked from RP1/RaveOS-arch
added auto switch to cachy kernel
This commit is contained in:
parent
327ea0a10f
commit
9a56ba91ea
1 changed files with 7 additions and 1 deletions
|
@ -21,7 +21,7 @@ yellow=$(tput setaf 3) # ${yellow}
|
||||||
|
|
||||||
# Installing packages
|
# 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 enable gdm.service
|
||||||
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.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
|
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 ---------------------------------------------
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
# CachyOS Kernel install
|
||||||
echo
|
echo
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
|
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
|
||||||
|
@ -73,6 +74,9 @@ yellow=$(tput setaf 3) # ${yellow}
|
||||||
sleep 2
|
sleep 2
|
||||||
cd -
|
cd -
|
||||||
sudo pacman -S linux-cachyos linux-cachyos-headers --noconfirm
|
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 ${bold}${yellow}CachyOS - Gaming Kernel ${normal}installed.
|
||||||
echo ---------------------------------------------
|
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/
|
sudo rsync -ap --info=progress2 raveos-bg.png /usr/share/backgrounds/
|
||||||
cp -a /home/$USER/cosmetics/.icons /home/$USER/
|
cp -a /home/$USER/cosmetics/.icons /home/$USER/
|
||||||
cp -a /home/$USER/cosmetics/.themes /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
|
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
|
||||||
|
|
||||||
# Adding Custom rave command
|
# Adding Custom rave command
|
||||||
|
|
Loading…
Reference in a new issue