75 lines
2.8 KiB
Bash
75 lines
2.8 KiB
Bash
#!/bin/bash
|
|
# Az ideiglenes sudo jogosultság eltávolítása
|
|
sudo rm -f /etc/sudoers.d/$USER
|
|
|
|
# GNOME telepítése
|
|
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
|
|
|
|
# Yay telepítése
|
|
echo "Yay telepítése..."
|
|
git clone https://aur.archlinux.org/yay-bin.git
|
|
cd yay-bin
|
|
|
|
makepkg -si --noconfirm
|
|
|
|
cd ..
|
|
rm -rf yay-bin
|
|
echo "Yay telepítése befejeződött."
|
|
|
|
# Yaru téma telepítése
|
|
echo "Yaru téma telepítése..."
|
|
git clone https://aur.archlinux.org/yaru.git
|
|
cd yaru
|
|
|
|
makepkg -si --noconfirm
|
|
|
|
cd ..
|
|
rm -rf yaru
|
|
echo "Yaru téma telepítése befejeződött."
|
|
|
|
# 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
|
|
|
|
echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/$USER > /dev/null
|
|
|
|
|
|
# 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/
|
|
cp -a .icons /home/$USER/
|
|
cp -a .themes /home/$USER/
|
|
|
|
# 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."
|