aboutsummaryrefslogtreecommitdiffstats
path: root/templates/gtk
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 08:09:21 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 08:09:21 +0200
commit8b7cba33ebbcd9e4227f1a5e8b41ca9f291185e9 (patch)
tree1ee0d34e6451cc28deadc7fdfc9686ae7a3ebace /templates/gtk
parentd9da179a6e07e45be5cb8a6abd2786346bd41f96 (diff)
downloadunified-desktop-theme-8b7cba33ebbcd9e4227f1a5e8b41ca9f291185e9.tar.gz
unified-desktop-theme-8b7cba33ebbcd9e4227f1a5e8b41ca9f291185e9.zip
fix(gtk): let the appearance drawer own the icon and cursor themes
templates/gtk/index.theme.in named IconTheme and CursorTheme, and it is installed whole-file into ~/.themes/udt/index.theme, which the drawer's Icons tab never rewrites. Every switch there left this file naming the old theme. Both keys are dropped: gsettings wins over a metatheme hint on Wayland, so the drawer's value stands on its own. templates/qt-gtk/{gtk3-settings.ini,qt5ct.conf,qt6ct.conf} were checked and are not a conflict: nothing installs them, and install.sh only seds gtk-theme-name into the live gtk-3.0/settings.ini. Each now says so at the top, so the next reader does not have to establish it again. TODO-icons.md records the audit, including the three consumers outside this repo that resolved icons against a hardcoded theme name. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'templates/gtk')
-rw-r--r--templates/gtk/index.theme.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/gtk/index.theme.in b/templates/gtk/index.theme.in
index 679b899..908404a 100644
--- a/templates/gtk/index.theme.in
+++ b/templates/gtk/index.theme.in
@@ -7,6 +7,7 @@ Encoding=UTF-8
[X-GNOME-Metatheme]
GtkTheme=udt
MetacityTheme=udt
-IconTheme=Material-Black-Plum-Suru
-CursorTheme=hypr_bibata-modern-amber
ButtonLayout=close,minimize,maximize:menu
+# No IconTheme or CursorTheme: the appearance drawer's Icons tab owns both
+# and sets them through gsettings, which wins over a metatheme hint on
+# Wayland. Naming them here only goes stale on the next drawer switch.