From a7dcf687fce100710c3d61f22dd04141fb45b7c3 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 28 May 2024 18:53:52 -0400 Subject: [PATCH] theme: code cleanup --- homeManagerModules/desktop/theme.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/homeManagerModules/desktop/theme.nix b/homeManagerModules/desktop/theme.nix index 895bc938..5c4ec024 100644 --- a/homeManagerModules/desktop/theme.nix +++ b/homeManagerModules/desktop/theme.nix @@ -165,10 +165,12 @@ size = config.alyraffauf.desktop.theme.cursorTheme.size; }; - qt.enable = true; - qt.platformTheme.name = "qtct"; - qt.style.name = "kvantum"; - + qt = { + enable = true; + platformTheme.name = "qtct"; + style.name = "kvantum"; + }; + xdg.configFile = { "Kvantum/${config.alyraffauf.desktop.theme.qt.name}".source = "${config.alyraffauf.desktop.theme.qt.package}/share/Kvantum/${config.alyraffauf.desktop.theme.qt.name}"; "Kvantum/kvantum.kvconfig".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" {