1
0
Fork 0
forked from RP1/RaveOS-arch

kde start 2

This commit is contained in:
RP1 2025-01-09 19:54:20 +01:00
parent 734fa71546
commit 119bb3efd3

View file

@ -55,15 +55,6 @@ Locale=$(locale | grep "hu_HU" -c)
cd -
rm -rf yay-bin
git clone https://aur.archlinux.org/yaru.git
cd yaru
makepkg -si --noconfirm
cd -
rm -rf yaru
yay -S gdm-tools --noconfirm --sudoloop --save
yay -S hydrapaper --noconfirm
# Flatseal - Flatpak app jogosultság beállító
echo
echo ---------------------------------------------
@ -103,40 +94,22 @@ if [[ $nVidia -gt 0 ]]; then
sudo mkinitcpio -P
fi
#gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'hu')]"
# Dconf option
if [[ $Locale -ge 1 ]]; then
dconf load / < raveui-hu
else
dconf load / < raveui-eng
fi
# RaveOS Cosmetics
cp -a /home/$USER/cosmetics/burn-my-windows /home/$USER/.config/
#cp -a /home/$USER/cosmetics/burn-my-windows /home/$USER/.config/
sudo rsync -ap --info=progress2 /home/$USER/cosmetics/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 rsync -ap --info=progress2 /home/$USER/cosmetics/archlinux-logo-text-dark.svg /usr/share/pixmaps/
sudo rsync -ap --info=progress2 /home/$USER/cosmetics/view-app-grid-symbolic.svg /usr/share/icons/Yaru/scalable/actions/
echo raveui-eng dconf loaded
#echo "[User]
#Session=
#Icon=/usr/share/pixmaps/faces/rave-pp.png
#SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
# sudo rsync -ap --info=progress2 /home/$USER/cosmetics/archlinux-logo-text-dark.svg /usr/share/pixmaps/
# sudo rsync -ap --info=progress2 /home/$USER/cosmetics/view-app-grid-symbolic.svg /usr/share/icons/Yaru/scalable/actions/
sudo mkdir -p /usr/share/backgrounds/
sudo rsync -ap --info=progress2 raveos-bg.png /usr/share/backgrounds/
cp -a /home/$USER/cosmetics/.icons /home/$USER/
cp -a /home/$USER/cosmetics/.themes /home/$USER/
sudo mkdir -p /home/$USER/.config/gtk-4.0
sudo chown -R $USER:$GROUP /home/$USER/
cp -a gtk.css /home/$USER/.config/gtk-4.0/
sudo sed -i 's/#en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen
sudo sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
sudo sed -i 's/#hu_HU.UTF-8 UTF-8/hu_HU.UTF-8 UTF-8/' /etc/locale.gen
sudo locale-gen
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
# Adding Custom rave command
echo ---------------------------------------------