aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-30 09:51:10 +0100
committerDanilo M. <danix@danix.xyz>2026-10-30 09:51:10 +0100
commitdb6997b6dabe35a55e555ecb1894c0d585856f0c (patch)
tree04da554abb6d417f4b9e5c83a266f016f3e8e317 /install.sh
parent8657d6c72ee10380f9af61e224050b7d1623e686 (diff)
downloadunified-desktop-theme-db6997b6dabe35a55e555ecb1894c0d585856f0c.tar.gz
unified-desktop-theme-db6997b6dabe35a55e555ecb1894c0d585856f0c.zip
kde: pin Haruna's colour scheme to udt
Haruna activates its own colour scheme setting at every start, and its default deletes [UiSettings] ColorScheme from kdeglobals, so kcalc and other KDE Frameworks apps fell back to BreezeLight. Reproduced by launching Haruna offscreen; with haruna.conf naming udt the key survives. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 849d770..1c28ce2 100755
--- a/install.sh
+++ b/install.sh
@@ -242,6 +242,12 @@ install -Dm644 "$repo/templates/kde/udt.colors" \
if command -v kwriteconfig6 >/dev/null 2>&1; then
kwriteconfig6 --file kdeglobals --group UiSettings --key ColorScheme udt
kwriteconfig6 --file kdeglobals --group KDE --key widgetStyle kvantum-dark
+ # Haruna activates its own colour scheme setting at startup, and its
+ # default deletes UiSettings ColorScheme from kdeglobals, which turns
+ # kcalc light again. Pinned to udt, it rewrites the same value instead.
+ if command -v haruna >/dev/null 2>&1; then
+ kwriteconfig6 --file haruna/haruna.conf --group General --key ColorScheme udt
+ fi
fi
}