2024-12-21 10:02:20 +00:00
|
|
|
#!/bin/bash
|
2024-12-20 22:59:06 +00:00
|
|
|
|
2024-12-21 10:43:40 +00:00
|
|
|
# GNOME telepítése
|
2024-12-21 10:02:20 +00:00
|
|
|
echo "GNOME telepítése..."
|
2024-12-21 12:19:28 +00:00
|
|
|
sudo pacman -S --noconfirm gnome-session gnome-shell gdm gnome-control-center gnome-settings-daemon 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
|
2024-12-21 11:46:39 +00:00
|
|
|
systemctl enable gdm.service
|
2024-12-21 10:02:20 +00:00
|
|
|
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
|
2024-12-20 22:59:06 +00:00
|
|
|
|
|
|
|
|
2024-12-21 10:02:20 +00:00
|
|
|
# RaveOS Cosmetics beállítások
|
2024-12-21 10:43:40 +00:00
|
|
|
echo "RaveOS Cosmetics beállítása..."
|
2024-12-21 10:02:20 +00:00
|
|
|
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"
|
2024-12-21 12:34:35 +00:00
|
|
|
echo "Sudo jogosultság eltávolítása..."
|
|
|
|
sudo deluser $USER sudo
|
2024-12-21 10:02:20 +00:00
|
|
|
yay -S gdm-tools --noconfirm --sudoloop --save
|
2024-12-21 12:37:56 +00:00
|
|
|
echo "Sudo jogosultság visszaállítása..."
|
|
|
|
sudo usermod -aG sudo $USER
|
2024-12-20 22:59:06 +00:00
|
|
|
|
2024-12-21 11:03:09 +00:00
|
|
|
|
2024-12-21 10:02:20 +00:00
|
|
|
# Cosmetics letöltése és alkalmazása
|
2024-12-21 10:43:40 +00:00
|
|
|
echo "Cosmetics letöltése..."
|
2024-12-21 10:02:20 +00:00
|
|
|
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]
|
2024-12-20 22:59:06 +00:00
|
|
|
Session=
|
|
|
|
Icon=/usr/share/pixmaps/faces/rave-pp.png
|
|
|
|
SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
2024-12-21 10:02:20 +00:00
|
|
|
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/
|
|
|
|
cp -a .icons /home/$USER/
|
|
|
|
cp -a .themes /home/$USER/
|
|
|
|
|
|
|
|
# GDM téma beállítása
|
2024-12-21 10:43:40 +00:00
|
|
|
echo "GDM téma beállítása..."
|
2024-12-21 10:02:20 +00:00
|
|
|
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
|
2024-12-21 10:43:40 +00:00
|
|
|
echo "GNOME telepítése befejeződött."
|