1
0
Fork 0
forked from RP1/RaveOS-arch

all features added

This commit is contained in:
RP1 2024-12-21 21:21:13 +01:00
parent b311d80241
commit 557b7962a5

View file

@ -33,6 +33,19 @@ yellow=$(tput setaf 3) # ${yellow}
cd -
rm -rf yaru
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
curl -O https://mirror.cachyos.org/cachyos-repo.tar.xz
tar xvf cachyos-repo.tar.xz && cd cachyos-repo
sudo ./cachyos-repo.sh
sudo pacman -Sy
echo ${bold}${yellow}CachyOS - Gaming Kernel ${normal}installed.
echo ---------------------------------------------
echo
# RaveOS Cosmetics
@ -60,7 +73,6 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
dconf load / < raveui-eng
sudo mkdir -p /usr/share/backgrounds/
sudo cp -a raveos-bg.png /usr/share/backgrounds/
sudo cp -a overrides /home/$USER/.local/share/flatpak/
cp -a .icons /home/$USER/
cp -a .themes /home/$USER/
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
@ -68,4 +80,45 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
sudo rm /etc/sudoers.d/99*
sudo rm -rf /home/$USER/cosmetics
# Adding Custom rave command
echo ---------------------------------------------
echo Installing ${bold}${yellow}rave command.${normal}
echo
sudo cp -a rave /usr/local/bin/
sudo chmod +x /usr/local/bin/rave
sudo cp -a rave-comp.sh /etc/bash_completion.d/
sudo chmod +x /etc/bash_completion.d/rave-comp.sh
echo
echo ${bold}${yellow}Rave command with bash completion ${normal}installed.
echo ---------------------------------------------
# Autostarting ProgramScript after restart
echo ---------------------------------------------
echo Installing ${bold}${yellow}ProgramScript Autostart${normal}
echo
mkdir -p /home/$USER/.config/autostart
sudo chown -R $USER:$GROUP /home/$USER/.config/autostart
sudo cp -a 3progs.sh.desktop /home/$USER/.config/autostart
echo Exec=/home/$USER/.progs/3progs.sh >> /home/$USER/.config/autostart/3progs.sh.desktop
sudo mkdir -p /home/$USER/.progs
sudo chown -R $USER:$GROUP /home/$USER/.progs
sudo cp -a 3progs.sh /home/$USER/.progs
sudo chmod +x /home/$USER/.progs/3progs.sh
sudo cp -a content/. /home/$USER/.progs
echo
echo ${bold}${yellow}ProgramScript Autostart ${normal}installed.
echo ---------------------------------------------
# Flatseal - Flatpak app jogosultság beállító
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}Flatseal - flatpak${normal}
flatpak install flathub com.github.tchx84.Flatseal --user -y
sudo cp -a overrides /home/$USER/.local/share/flatpak
echo ${bold}${yellow}Flatseal ${normal}installed.
echo ---------------------------------------------
echo
reboot