From 5789ff451dfbf8d07aea7408aec50794b8f092f9 Mon Sep 17 00:00:00 2001 From: gabeszm Date: Sat, 21 Dec 2024 15:45:13 +0100 Subject: [PATCH] 00 --- arch_install.sh | 53 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 41 insertions(+), 12 deletions(-) diff --git a/arch_install.sh b/arch_install.sh index f725812..e55937c 100644 --- a/arch_install.sh +++ b/arch_install.sh @@ -125,19 +125,48 @@ if [ "$de_choice" == "1" ]; then exit 1 fi - # Letöltjük a szkriptet - echo "RP_COSMETICS telepítése..." - curl -Ls "$RP_COSMETICS_URL" -o rp_cosmetics.sh - # Ellenőrizzük, hogy sikerült-e letölteni - if [ -f "rp_cosmetics.sh" ]; then - echo "A rp_cosmetics telepítő szkript sikeresen letöltve. Futtatás..." - sudo chmod +x rp_cosmetics.sh - sudo bash -x rp_cosmetics.sh | tee rp_cosmetics.log - else - echo "Nem sikerült letölteni a rp_cosmetics telepítő szkriptet." - exit 1 - fi +# Cosmetics letöltése és alkalmazása +echo "Cosmetics letöltése..." +mkdir cosmetics +cd cosmetics +wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/R_0cJkKL/ +unzip cosmetics.zip +sudo chown -R $USER:$GROUP /home/$USER/cosmetics/ +sudo rsync -ap --info=progress2 gnome-shell /home/$USER/.local/share/ +cp -a burn-my-windows /home/$USER/.config/ +sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ +echo "[User] +Session= +Icon=/usr/share/pixmaps/faces/rave-pp.png +SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER +sudo cp -a archlinux-logo-text-dark.svg /usr/share/pixmaps/ +sudo cp -a view-app-grid-symbolic.svg /usr/share/icons/Yaru/scalable/actions/ +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/ +sudo mkdir -p /home/$USER/.icons/ +sudo mkdir -p /home/$USER/.themes/ +cp -a .icons /home/$USER/ +cp -a .themes /home/$USER/ + +# RaveOS Cosmetics beállítások +echo "RaveOS Cosmetics beállítása..." +gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-purple-dark' +gsettings set org.gnome.desktop.interface cursor-theme 'Yaru' +gsettings set org.gnome.desktop.interface icon-theme 'Yaru-purple-dark' +gsettings set org.gnome.desktop.sound theme-name 'Yaru' +gsettings set org.gnome.desktop.screensaver lock-enabled false +gsettings set org.gnome.desktop.session idle-delay 0 +gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" +yay -S gdm-tools --noconfirm --sudoloop --save + + +# GDM téma beállítása +echo "GDM téma beállítása..." +set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png +echo "GNOME telepítése befejeződött."