aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 6bc0341..e7e2177 100755
--- a/install.sh
+++ b/install.sh
@@ -61,6 +61,15 @@ fi
install -Dm644 "$repo/templates/terminal/kitty-theme.conf" \
"$HOME/.config/kitty/current-theme.conf"
+# Kvantum wants a directory per theme, named after itself, and qt5ct/qt6ct
+# reach Qt apps through it. The theme is installed under one fixed name rather
+# than one per scheme: Kvantum caches by name, so reusing it means a switch
+# needs no change to kvantum.kvconfig and no second theme left behind.
+kv="$HOME/.config/Kvantum/udt"
+install -Dm644 "$repo/templates/kvantum/theme.kvconfig" "$kv/udt.kvconfig"
+install -Dm644 "$repo/templates/kvantum/theme.svg" "$kv/udt.svg"
+printf '[General]\ntheme=udt\n' > "$HOME/.config/Kvantum/kvantum.kvconfig"
+
# Stage the homepage stylesheet on the dashboard host. Staged, not installed:
# /opt/homepage/config is root-owned and this script does not hold root there.
# Never fatal, and never slow: a laptop away from that network must still be