From 57115992c740e72fe4767f1b9b5e5d2921e884ef Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Thu, 19 Mar 2026 11:20:08 -0500 Subject: clean up qt stuff and tofi stuff --- modules/desktop/hjem/qt.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 modules/desktop/hjem/qt.nix (limited to 'modules/desktop/hjem/qt.nix') diff --git a/modules/desktop/hjem/qt.nix b/modules/desktop/hjem/qt.nix new file mode 100644 index 0000000..048108b --- /dev/null +++ b/modules/desktop/hjem/qt.nix @@ -0,0 +1,31 @@ +{ + config, + lib, + ... +}: let + cfg = config.collinux.desktop.qt; + isCatppuccin = cfg.theme == "catppuccin"; +in + lib.mkIf cfg.enable { + xdg.config.files = + { + "kdeglobals".text = + '' + [Icons] + Theme=${cfg.iconTheme} + '' + + lib.optionalString isCatppuccin '' + [General] + ColorScheme=CatppuccinMochaBlue + + [KDE] + widgetStyle=kvantum + ''; + } + // lib.optionalAttrs isCatppuccin { + "Kvantum/kvantum.kvconfig".text = '' + [General] + theme=catppuccin-mocha-blue + ''; + }; + } -- cgit v1.3.1