rp cosmetics added
This commit is contained in:
parent
07edde65d2
commit
9c7d413fd6
3 changed files with 60 additions and 46 deletions
|
@ -8,6 +8,7 @@ set -e
|
||||||
YARU_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/yaru.sh"
|
YARU_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/yaru.sh"
|
||||||
YAY_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/yay.sh"
|
YAY_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/yay.sh"
|
||||||
GNOME_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/gnome.sh"
|
GNOME_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/gnome.sh"
|
||||||
|
RP_COSMETICS_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/rp_cosmetics.sh"
|
||||||
|
|
||||||
# Adjuk hozzá az aktuális felhasználót a sudoers fájlhoz, hogy jelszó nélkül használhassa a sudo-t
|
# Adjuk hozzá az aktuális felhasználót a sudoers fájlhoz, hogy jelszó nélkül használhassa a sudo-t
|
||||||
echo "ALL ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/disable-password > /dev/null
|
echo "ALL ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/disable-password > /dev/null
|
||||||
|
@ -124,6 +125,19 @@ if [ "$de_choice" == "1" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
47
gnome.sh
47
gnome.sh
|
@ -4,49 +4,4 @@
|
||||||
echo "GNOME telepítése..."
|
echo "GNOME telepítése..."
|
||||||
sudo pacman -S gnome-terminal gnome-session gdm gnome-disk-utility gnome-system-monitor eog flatpak base-devel bash-completion firefox gedit gnome-calculator baobab ffmpeg git gnome-control-center gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel spice-vdagent rsync --noconfirm
|
sudo pacman -S gnome-terminal gnome-session gdm gnome-disk-utility gnome-system-monitor eog flatpak base-devel bash-completion firefox gedit gnome-calculator baobab ffmpeg git gnome-control-center gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel spice-vdagent rsync --noconfirm
|
||||||
sudo systemctl enable gdm.service
|
sudo systemctl enable gdm.service
|
||||||
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
|
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
|
||||||
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Cosmetics letöltése és alkalmazása
|
|
||||||
echo "Cosmetics letöltése..."
|
|
||||||
mkdir cosmetics
|
|
||||||
sudo chmod a+rwx ~/cosmetics
|
|
||||||
cd cosmetics
|
|
||||||
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/R_0cJkKL/
|
|
||||||
unzip cosmetics.zip
|
|
||||||
#sudo chown -R $CURRENT_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."
|
|
45
rp_cosmetics.sh
Normal file
45
rp_cosmetics.sh
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Cosmetics letöltése és alkalmazása
|
||||||
|
echo "Cosmetics letöltése..."
|
||||||
|
mkdir cosmetics
|
||||||
|
sudo chmod a+rwx ~/cosmetics
|
||||||
|
cd cosmetics
|
||||||
|
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/R_0cJkKL/
|
||||||
|
unzip cosmetics.zip
|
||||||
|
#sudo chown -R $CURRENT_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."
|
Loading…
Reference in a new issue