From c1653d9336266db53c5d02b8a618daa2767e3c43 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 20 Jan 2026 11:59:24 -0500 Subject: update gtk icon theme, add qt->gtk theme shim --- home/qt.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 home/qt.nix (limited to 'home/qt.nix') diff --git a/home/qt.nix b/home/qt.nix new file mode 100644 index 0000000..49ea0c1 --- /dev/null +++ b/home/qt.nix @@ -0,0 +1,32 @@ +{ + lib, + config, + ... +}: let + font = "${config.theme.font.regular},10"; + qtctConf = + lib.generators.toINI {} + { + Appearance = { + custom_palette = false; + icon_theme = config.gtk.iconTheme.name; + standard_dialogs = "xdgdesktopportal"; + style = "gtk2"; + }; + Fonts = { + fixed = font; + general = font; + }; + }; +in { + qt = { + enable = true; + platformTheme.name = "qtct"; + style.name = "gtk2"; + }; + + xdg.configFile = { + "qt5ct/qt5ct.conf".text = qtctConf; + "qt6ct/qt6ct.conf".text = qtctConf; + }; +} -- cgit v1.2.3-freya