From 60e0dbf4b3725c22fd49ef7d27f93a36f9283390 Mon Sep 17 00:00:00 2001 From: nippy Date: Thu, 13 Aug 2026 17:42:28 +0200 Subject: fix calamares --- raveos-plasma-theme/raveos-plasma-apply.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'raveos-plasma-theme/raveos-plasma-apply.sh') 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" <