diff options
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 + ''; + }; + } |
