00
This commit is contained in:
parent
5789ff451d
commit
91529deab9
2 changed files with 24 additions and 51 deletions
|
@ -125,48 +125,19 @@ if [ "$de_choice" == "1" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cosmetics letöltése és alkalmazása
|
# Letöltjük a szkriptet
|
||||||
echo "Cosmetics letöltése..."
|
echo "RP_COSMETICS telepítése..."
|
||||||
mkdir cosmetics
|
curl -Ls "$RP_COSMETICS_URL" -o rp_cosmetics.sh
|
||||||
cd cosmetics
|
# Ellenőrizzük, hogy sikerült-e letölteni
|
||||||
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/R_0cJkKL/
|
if [ -f "rp_cosmetics.sh" ]; then
|
||||||
unzip cosmetics.zip
|
echo "A rp_cosmetics telepítő szkript sikeresen letöltve. Futtatás..."
|
||||||
sudo chown -R $USER:$GROUP /home/$USER/cosmetics/
|
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
|
||||||
|
|
||||||
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."
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,30 +1,32 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Használj $(whoami) a $USER helyett
|
||||||
|
current_user=$(whoami)
|
||||||
# Cosmetics letöltése és alkalmazása
|
# Cosmetics letöltése és alkalmazása
|
||||||
echo "Cosmetics letöltése..."
|
echo "Cosmetics letöltése..."
|
||||||
mkdir cosmetics
|
mkdir cosmetics
|
||||||
cd cosmetics
|
cd cosmetics
|
||||||
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/R_0cJkKL/
|
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/R_0cJkKL/
|
||||||
unzip cosmetics.zip
|
unzip cosmetics.zip
|
||||||
sudo chown -R $USER:$GROUP /home/$USER/cosmetics/
|
sudo chown -R $$current_user:$GROUP /home/$current_user/cosmetics/
|
||||||
|
sudo mkdir -p /home/$current_user/.local/share/
|
||||||
sudo rsync -ap --info=progress2 gnome-shell /home/$USER/.local/share/
|
sudo rsync -ap --info=progress2 gnome-shell /home/$current_user/.local/share/
|
||||||
cp -a burn-my-windows /home/$USER/.config/
|
cp -a burn-my-windows /home/$current_user/.config/
|
||||||
sudo cp -a rave-pp.png /usr/share/pixmaps/faces/
|
sudo cp -a rave-pp.png /usr/share/pixmaps/faces/
|
||||||
echo "[User]
|
echo "[User]
|
||||||
Session=
|
Session=
|
||||||
Icon=/usr/share/pixmaps/faces/rave-pp.png
|
Icon=/usr/share/pixmaps/faces/rave-pp.png
|
||||||
SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$current_user
|
||||||
sudo cp -a archlinux-logo-text-dark.svg /usr/share/pixmaps/
|
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/
|
sudo cp -a view-app-grid-symbolic.svg /usr/share/icons/Yaru/scalable/actions/
|
||||||
dconf load / < raveui-eng
|
dconf load / < raveui-eng
|
||||||
sudo mkdir -p /usr/share/backgrounds/
|
sudo mkdir -p /usr/share/backgrounds/
|
||||||
sudo cp -a raveos-bg.png /usr/share/backgrounds/
|
sudo cp -a raveos-bg.png /usr/share/backgrounds/
|
||||||
sudo cp -a overrides /home/$USER/.local/share/flatpak/
|
sudo cp -a overrides /home/$current_user/.local/share/flatpak/
|
||||||
sudo mkdir -p /home/$USER/.icons/
|
sudo mkdir -p /home/$current_user/.icons/
|
||||||
sudo mkdir -p /home/$USER/.themes/
|
sudo mkdir -p /home/$current_user/.themes/
|
||||||
cp -a .icons /home/$USER/
|
cp -a .icons /home/$current_user/
|
||||||
cp -a .themes /home/$USER/
|
cp -a .themes /home/$current_user/
|
||||||
|
|
||||||
# RaveOS Cosmetics beállítások
|
# RaveOS Cosmetics beállítások
|
||||||
echo "RaveOS Cosmetics beállítása..."
|
echo "RaveOS Cosmetics beállítása..."
|
||||||
|
|
Loading…
Reference in a new issue