diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-19 11:20:08 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-19 11:20:08 -0500 |
| commit | 57115992c740e72fe4767f1b9b5e5d2921e884ef (patch) | |
| tree | 06c30c8109d5caca936d5d5809d42162e4497861 /modules/desktop/hjem/qt.nix | |
| parent | 2bc17b5cfd65a9537a9c56e74c9e7918156015e0 (diff) | |
clean up qt stuff and tofi stuff
Diffstat (limited to 'modules/desktop/hjem/qt.nix')
| -rw-r--r-- | modules/desktop/hjem/qt.nix | 31 |
1 files changed, 31 insertions, 0 deletions
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 + ''; + }; + } |
