diff options
| author | nippy <nippy@tuta.io> | 2026-08-13 17:42:28 +0200 |
|---|---|---|
| committer | nippy <nippy@tuta.io> | 2026-08-13 17:42:28 +0200 |
| commit | 60e0dbf4b3725c22fd49ef7d27f93a36f9283390 (patch) | |
| tree | 05c3ec3b48fad4c80a939f0af838cffb8d96eefd /raveos-plasma-theme | |
| parent | eff5f88a9e66da0e4b353a1d74b8ab05e1f4d3f7 (diff) | |
| download | RaveOS-PKGBUILD-60e0dbf4b3725c22fd49ef7d27f93a36f9283390.tar.gz RaveOS-PKGBUILD-60e0dbf4b3725c22fd49ef7d27f93a36f9283390.zip | |
fix calamares
Diffstat (limited to 'raveos-plasma-theme')
| -rw-r--r-- | raveos-plasma-theme/PKGBUILD | 2 | ||||
| -rw-r--r-- | raveos-plasma-theme/raveos-plasma-apply.sh | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/raveos-plasma-theme/PKGBUILD b/raveos-plasma-theme/PKGBUILD index fb42fef..18c8a53 100644 --- a/raveos-plasma-theme/PKGBUILD +++ b/raveos-plasma-theme/PKGBUILD @@ -15,7 +15,7 @@ pkgname=raveos-plasma-theme pkgver=0.0.0 -pkgrel=35 +pkgrel=36 pkgdesc="RaveOS Plasma theme payload and installer" arch=('any') url="https://raveos.local" diff --git a/raveos-plasma-theme/raveos-plasma-apply.sh b/raveos-plasma-theme/raveos-plasma-apply.sh index a0a5df5..7b88c99 100644 --- a/raveos-plasma-theme/raveos-plasma-apply.sh +++ b/raveos-plasma-theme/raveos-plasma-apply.sh @@ -59,6 +59,20 @@ ColorScheme=RaveOS EOF } +write_kxkbrc() { + local target_home="$1" + local kb_layout="hu" + local kb_tmp + if [[ -f /etc/default/keyboard ]]; then + kb_tmp="$(awk -F'"' '/^XKBLAYOUT=/{print $2; exit}' /etc/default/keyboard 2>/dev/null)" + [[ -n "$kb_tmp" ]] && kb_layout="${kb_tmp%%,*}" + fi + cat > "${target_home}/.config/kxkbrc" <<EOF +[Layout] +LayoutList=${kb_layout} +EOF +} + write_plasma_wallpaper_config() { local target_home="$1" local applet_config="${target_home}/.config/plasma-org.kde.plasma.desktop-appletsrc" @@ -294,6 +308,7 @@ apply_user_payload() { fi write_konsolerc "$target_home" + write_kxkbrc "$target_home" write_plasma_wallpaper_config "$target_home" write_kickoff_config "$target_home" write_kscreenlockerrc "$target_home" |