forked from RP1/RaveOS-arch
locale grep try
This commit is contained in:
parent
06d162e3bb
commit
78182d5a8c
1 changed files with 4 additions and 6 deletions
|
@ -18,7 +18,7 @@ yellow=$(tput setaf 3) # ${yellow}
|
||||||
# Variables - Credit Lordify
|
# Variables - Credit Lordify
|
||||||
CPU=$(lscpu | grep "AMD" -c)
|
CPU=$(lscpu | grep "AMD" -c)
|
||||||
nVidia=$(lspci -P | grep "NVIDIA" -c)
|
nVidia=$(lspci -P | grep "NVIDIA" -c)
|
||||||
Locale=$(echo $LANG)
|
Locale=$(locale | grep "hu_HU" -c)
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -103,13 +103,13 @@ if [[ $nVidia -gt 0 ]]; then
|
||||||
sudo mkinitcpio -P
|
sudo mkinitcpio -P
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'hu')]"
|
||||||
|
|
||||||
# Dconf option
|
# Dconf option
|
||||||
if [[ "$Locale" = "hu_HU.UTF8" ]]; then
|
if [[ "$Locale" = "hu_HU.UTF8" ]]; then
|
||||||
#dconf load / < raveui-hu
|
dconf load / < raveui-hu
|
||||||
#gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'hu')]"
|
|
||||||
else
|
else
|
||||||
#dconf load / < raveui-eng
|
dconf load / < raveui-eng
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# RaveOS Cosmetics
|
# RaveOS Cosmetics
|
||||||
|
@ -142,8 +142,6 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
||||||
sudo sed -i 's/#en_US.UTF-8 UTF-8/en_US.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 sed -i 's/#hu_HU.UTF-8 UTF-8/hu_HU.UTF-8 UTF-8/' /etc/locale.gen
|
||||||
sudo locale-gen
|
sudo locale-gen
|
||||||
dconf load / < raveui-hu
|
|
||||||
|
|
||||||
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
|
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
|
||||||
|
|
||||||
# Adding Custom rave command
|
# Adding Custom rave command
|
||||||
|
|
Loading…
Reference in a new issue