Fix kdeglobals generation

This commit is contained in:
Alexander Bantyev 2021-06-12 00:42:08 +03:00
parent ddd279f6e9
commit 95219ac876
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
2 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ let
let let
mvalue = if builtins.isBool value then mvalue = if builtins.isBool value then
(if value then "true" else "false") (if value then "true" else "false")
else if (builtins.isString value && key != "include-file") then else if builtins.isString value then
value value
else else
builtins.toString value; builtins.toString value;

View File

@ -19,13 +19,13 @@ with pkgs.my-lib; {
in { in {
services.kdeconnect.enable = true; services.kdeconnect.enable = true;
xdg.configFile."kdeglobals".text = with thmDec; genIni { xdg.configFile."kdeglobals".text = with thmDec; lib.generators.toGitINI {
"Colors:Button" = { "Colors:Button" = {
BackgroundAlternate = base01; BackgroundAlternate = base01;
BackgroundNormal = base00; BackgroundNormal = base01;
DecorationFocus = base02; DecorationFocus = base02;
DecorationHover = base02; DecorationHover = base02;
ForegroundActive = base02; ForegroundActive = base05;
ForegroundInactive = base01; ForegroundInactive = base01;
ForegroundLink = base0D; ForegroundLink = base0D;
ForegroundNegative = base08; ForegroundNegative = base08;
@ -36,7 +36,7 @@ with pkgs.my-lib; {
}; };
"Colors:Complementary" = { "Colors:Complementary" = {
BackgroundAlternate = base01; BackgroundAlternate = base01;
BackgroundNormal = base00; BackgroundNormal = base03;
DecorationFocus = base02; DecorationFocus = base02;
DecorationHover = base02; DecorationHover = base02;
ForegroundActive = base09; ForegroundActive = base09;