diff --git a/raveos.sh b/raveos.sh index 1cd40fb..7bb6e74 100644 --- a/raveos.sh +++ b/raveos.sh @@ -14,6 +14,7 @@ yellow=$(tput setaf 3) # ${yellow} CPU=$(lscpu | grep "AMD" -c) cachy=$(ls /boot/ | grep "cachy" -c) nVidia=$(lspci -P | grep "NVIDIA" -c) +Locale=$(echo $LANG) # Deleting password for the script to run uninterrapted @@ -122,6 +123,13 @@ nVidia=$(lspci -P | grep "NVIDIA" -c) sudo pacman -S nvidia-dkms nvidia-utils nvidia-settings --noconfirm fi +# Dconf option + if [[ $Locale = "hu_HU.UTF8" ]]; then + dconf load / < raveui-hu + else + dconf load / < raveui-eng + fi + @@ -143,7 +151,6 @@ 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/ - dconf load / < raveui-eng echo raveui-eng dconf loaded sudo mkdir -p /usr/share/backgrounds/ sudo rsync -ap --info=progress2 raveos-bg.png /usr/share/backgrounds/