asd
This commit is contained in:
parent
f4aac2eed7
commit
a7dd6dd56b
1 changed files with 60 additions and 3 deletions
63
rp-os-ae.sh
63
rp-os-ae.sh
|
@ -14,7 +14,9 @@ yellow=$(tput setaf 3) # ${yellow}
|
||||||
|
|
||||||
# Installing packages
|
# Installing packages
|
||||||
|
|
||||||
sudo pacman -S wget unzip --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 rsync hblock nano --noconfirm
|
||||||
|
sudo systemctl enable gdm.service
|
||||||
|
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
|
||||||
|
|
||||||
# Downloading RavePkg
|
# Downloading RavePkg
|
||||||
mkdir cosmetics
|
mkdir cosmetics
|
||||||
|
@ -22,14 +24,30 @@ yellow=$(tput setaf 3) # ${yellow}
|
||||||
cd cosmetics
|
cd cosmetics
|
||||||
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/K7znaGkC/
|
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/K7znaGkC/
|
||||||
unzip cosmetics.zip
|
unzip cosmetics.zip
|
||||||
|
|
||||||
|
|
||||||
|
git clone https://aur.archlinux.org/yay-bin.git
|
||||||
|
cd yay-bin
|
||||||
|
makepkg -si --noconfirm
|
||||||
|
cd -
|
||||||
|
rm -rf yay-bin
|
||||||
|
|
||||||
|
yay -S gdm-tools --noconfirm --sudoloop --save
|
||||||
|
|
||||||
|
|
||||||
|
git clone https://aur.archlinux.org/yaru.git
|
||||||
|
cd yaru
|
||||||
|
makepkg -si --noconfirm
|
||||||
|
cd -
|
||||||
|
rm -rf yaru
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
|
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
|
||||||
|
|
||||||
curl https://mirror.cachyos.org/cachyos-repo.tar.xz -o cachyos-repo.tar.xz
|
curl https://mirror.cachyos.org/cachyos-repo.tar.xz -o cachyos-repo.tar.xz
|
||||||
sudo cp -r /home/$USER/cosmetics/cachyos-repo.sh /home/$USER/cosmetics/cachyos-repo/
|
tar xvf cachyos-repo.tar.xz && cd cachyos-repo
|
||||||
tar xvf cachyos-repo.tar.xz && cd cachyos-repo
|
sudo cp /home/$USER/cosmetics/cachyos-repo.sh /home/$USER/cosmetics/cachyos-repo/
|
||||||
sudo ./cachyos-repo.sh
|
sudo ./cachyos-repo.sh
|
||||||
cd -
|
cd -
|
||||||
sudo pacman -S linux-cachyos linux-cachyos-headers --noconfirm
|
sudo pacman -S linux-cachyos linux-cachyos-headers --noconfirm
|
||||||
|
@ -67,6 +85,45 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
||||||
sudo rm /etc/sudoers.d/99*
|
sudo rm /etc/sudoers.d/99*
|
||||||
sudo rm -rf /home/$USER/cosmetics
|
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
|
reboot
|
Loading…
Reference in a new issue