Update gnome.sh

This commit is contained in:
gabeszm 2024-12-21 10:02:20 +00:00
parent cea5f1393d
commit 02de3764ef

View file

@ -1,54 +1,57 @@
#!/bin/bash #!/bin/bash
echo "GNOME telepítése..."
sudo pacman -S --noconfirm gnome-shell gdm gnome-control-center gnome-settings-daemon gnome-session
sudo pacman -S --noconfirm nautilus gnome-terminal
sudo pacman -S --noconfirm gnome-tweaks gnome-shell-extensions gnome-disk-utility gnome-system-monitor gedit gnome-calculator gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family spice-vdagent rsync
systemctl enable gdm.service
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
git clone https://aur.archlinux.org/yay-bin.git echo "GNOME telepítése..."
cd yay-bin sudo pacman -S --noconfirm gnome-shell gdm gnome-control-center gnome-settings-daemon gnome-session
makepkg -si --noconfirm sudo pacman -S --noconfirm nautilus gnome-terminal
cd - sudo pacman -S --noconfirm gnome-tweaks gnome-shell-extensions gnome-disk-utility gnome-system-monitor gedit gnome-calculator gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family spice-vdagent rsync
rm -rf yay-bin systemctl enable gdm.service
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
# Yay telepítése
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si --noconfirm
cd -
rm -rf yay-bin
git clone https://aur.archlinux.org/yaru.git # Yaru téma telepítése
cd yaru git clone https://aur.archlinux.org/yaru.git
makepkg -si --noconfirm cd yaru
cd - makepkg -si --noconfirm
rm -rf yaru cd -
rm -rf yaru
# RaveOS Cosmetics # RaveOS Cosmetics beállítások
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
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-purple-dark' # Cosmetics letöltése és alkalmazása
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru' mkdir cosmetics
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-purple-dark' cd cosmetics
gsettings set org.gnome.desktop.sound theme-name 'Yaru' wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/R_0cJkKL/
gsettings set org.gnome.desktop.screensaver lock-enabled false unzip cosmetics.zip
gsettings set org.gnome.desktop.session idle-delay 0 sudo chown -R $USER:$GROUP /home/$USER/cosmetics/
gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" sudo rsync -ap --info=progress2 gnome-shell /home/$USER/.local/share/
yay -S gdm-tools --noconfirm --sudoloop --save cp -a burn-my-windows /home/$USER/.config/
mkdir cosmetics sudo cp -a rave-pp.png /usr/share/pixmaps/faces/
cd cosmetics echo "[User]
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= 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/$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/$USER/.local/share/flatpak/
cp -a .icons /home/$USER/ cp -a .icons /home/$USER/
cp -a .themes /home/$USER/ cp -a .themes /home/$USER/
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
# GDM téma beállítása
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png