blob: 048108ba9a74b178828cb6cec5ef27ab933c4a75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
'';
};
}
|