From 78182d5a8ce407c20b8dc9d5e6e5cf3fa3f2513f Mon Sep 17 00:00:00 2001 From: RP1 Date: Tue, 7 Jan 2025 22:58:08 +0100 Subject: [PATCH] locale grep try --- raveos-gnome.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/raveos-gnome.sh b/raveos-gnome.sh index 433a5a2..813f5d7 100644 --- a/raveos-gnome.sh +++ b/raveos-gnome.sh @@ -18,7 +18,7 @@ yellow=$(tput setaf 3) # ${yellow} # Variables - Credit Lordify CPU=$(lscpu | grep "AMD" -c) nVidia=$(lspci -P | grep "NVIDIA" -c) -Locale=$(echo $LANG) +Locale=$(locale | grep "hu_HU" -c) set -e @@ -103,13 +103,13 @@ if [[ $nVidia -gt 0 ]]; then sudo mkinitcpio -P fi +#gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'hu')]" # Dconf option if [[ "$Locale" = "hu_HU.UTF8" ]]; then - #dconf load / < raveui-hu - #gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'hu')]" + dconf load / < raveui-hu else - #dconf load / < raveui-eng + dconf load / < raveui-eng fi # 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/#hu_HU.UTF-8 UTF-8/hu_HU.UTF-8 UTF-8/' /etc/locale.gen sudo locale-gen - dconf load / < raveui-hu - set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png # Adding Custom rave command