diff options
| author | nippy <nippy@tuta.io> | 2026-08-13 19:47:49 +0200 |
|---|---|---|
| committer | nippy <nippy@tuta.io> | 2026-08-13 19:47:49 +0200 |
| commit | c1d71121d57626b325823da885f2c90f2e39b3aa (patch) | |
| tree | 5c073cfff701b9c64175bd135bc08716f6687eed /raveos-hyprland-theme | |
| parent | 22e2e5dec606cdbf42fcb71b650ccaae5dc5a40f (diff) | |
| download | RaveOS-PKGBUILD-c1d71121d57626b325823da885f2c90f2e39b3aa.tar.gz RaveOS-PKGBUILD-c1d71121d57626b325823da885f2c90f2e39b3aa.zip | |
added bookmark hyperland
Diffstat (limited to 'raveos-hyprland-theme')
| -rw-r--r-- | raveos-hyprland-theme/PKGBUILD | 2 | ||||
| -rw-r--r-- | raveos-hyprland-theme/raveos-hyprland-apply.sh | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/raveos-hyprland-theme/PKGBUILD b/raveos-hyprland-theme/PKGBUILD index 019d1bb..badee46 100644 --- a/raveos-hyprland-theme/PKGBUILD +++ b/raveos-hyprland-theme/PKGBUILD @@ -14,7 +14,7 @@ pkgname=raveos-hyprland-theme pkgver=0.0.0 -pkgrel=60 +pkgrel=61 pkgdesc="RaveOS Hyprland theme payload and installer (includes DankMaterialShell)" arch=('any') url="https://raveos.local" diff --git a/raveos-hyprland-theme/raveos-hyprland-apply.sh b/raveos-hyprland-theme/raveos-hyprland-apply.sh index 327ac33..3be89a9 100644 --- a/raveos-hyprland-theme/raveos-hyprland-apply.sh +++ b/raveos-hyprland-theme/raveos-hyprland-apply.sh @@ -22,6 +22,12 @@ if [[ ${EUID} -ne 0 ]]; then exit 1 fi +# Telepített locale (a Calamares locale modul írta /etc/locale.conf-ba). +# Az xdg-user-dirs-update ezzel hozza létre a mappákat a megfelelő nyelven. +locale_lang="hu_HU.UTF-8" +[[ -f /etc/locale.conf ]] && locale_lang="$(awk -F'=' '/^LANG=/{print $2}' /etc/locale.conf | tr -d '"')" +[[ -n "$locale_lang" ]] || locale_lang="hu_HU.UTF-8" + # GTK/Thunar könyvjelzők: a Letöltésekből kapott lista /home/t útvonalai # helyett mindig az aktuális felhasználó home könyvtárára mutatunk. install_gtk_bookmarks() { @@ -241,8 +247,9 @@ SEOF runuser -u "$user" -- dbus-launch gsettings set org.gnome.desktop.interface icon-theme 'Adwaitaru-olive' 2>/dev/null ) || true - # XDG user könyvtárak (Letöltések, Dokumentumok stb.) - runuser -u "$user" -- xdg-user-dirs-update 2>/dev/null || true + # XDG user könyvtárak a telepített locale-al, hogy a mappák a + # megfelelő nyelven (nem angolul) jöjjenek létre. + runuser -u "$user" -- env LANG="$locale_lang" xdg-user-dirs-update --force 2>/dev/null || true # Tulajdonos visszaállítása chown -R "${uid}:${gid}" "$home" |