Use more kde tools

This commit is contained in:
Alexander Bantyev 2023-01-27 22:48:27 +04:00
parent 25431c26ab
commit c5307cae01
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
4 changed files with 138 additions and 130 deletions

View File

@ -39,9 +39,6 @@
[[language]] [[language]]
name = "nix" name = "nix"
formatter = { command = "nixfmt", args = [] } formatter = { command = "nixfmt", args = [] }
[[language]]
name = "markdown"
language-server = { command = "vscode-markdown-language-server", args = ["--stdio"] }
''; '';
programs.helix = { programs.helix = {
enable = true; enable = true;
@ -171,10 +168,7 @@
"diff.plus" = base0B; "diff.plus" = base0B;
"diff.delta" = base0A; "diff.delta" = base0A;
"diff.minus" = base08; "diff.minus" = base08;
"diagnostic" = { "diagnostic" = { underline = { style = "line"; }; };
modifiers = [ "italic" ];
underline = { style = "line"; };
};
"diagnostic.error" = { fg = base08; } // diagnostic; "diagnostic.error" = { fg = base08; } // diagnostic;
"diagnostic.warning" = { fg = base09; } // diagnostic; "diagnostic.warning" = { fg = base09; } // diagnostic;
"ui.gutter" = { bg = base00; }; "ui.gutter" = { bg = base00; };

View File

@ -1,19 +1,22 @@
{ pkgs, lib, config, ... }: { pkgs, lib, config, ... }:
with import ../../support.nix { inherit lib config; }; { with (pkgs.my-lib.thmDec config.themes.colors); {
home-manager.users.balsoft.xdg.configFile."okularpartrc".text = genIni { home-manager.users.balsoft = {
"Dlg Accessibility" = { home.packages = [ pkgs.okular ];
RecolorBackground = thmDec.base00; xdg.configFile."okularpartrc".text = pkgs.my-lib.genIni {
RecolorForeground = thmDec.base05; "Dlg Accessibility" = {
}; RecolorBackground = base00;
"Document" = { RecolorForeground = base05;
ChangeColors = true; };
PaperColor = thmDec.base00; "Document" = {
RenderMode = "Recolor"; ChangeColors = true;
}; PaperColor = base00;
"Main View" = { ShowLeftPanel = false; }; RenderMode = "Recolor";
PageView = { };
BackgroundColor = thmDec.base00; "Main View" = { ShowLeftPanel = false; };
UseCustomBackgroundColor = true; PageView = {
BackgroundColor = base00;
UseCustomBackgroundColor = true;
};
}; };
}; };
} }

View File

@ -34,114 +34,124 @@ with pkgs.my-lib; {
in { in {
home.packages = [ pkgs.ark pkgs.dolphin ]; home.packages = [ pkgs.ark pkgs.dolphin ];
xdg.configFile."kdeglobals".text = with (thmDec config.themes.colors); lib.generators.toGitINI { xdg.configFile."kdeglobals".text = with (thmDec config.themes.colors);
"Colors:Button" = { lib.generators.toGitINI {
BackgroundAlternate = base01; "Colors:Button" = {
BackgroundNormal = base01; BackgroundAlternate = base01;
DecorationFocus = base02; BackgroundNormal = base01;
DecorationHover = base02; DecorationFocus = base02;
ForegroundActive = base05; DecorationHover = base02;
ForegroundInactive = base01; ForegroundActive = base05;
ForegroundLink = base0D; ForegroundInactive = base01;
ForegroundNegative = base08; ForegroundLink = base0D;
ForegroundNeutral = base09; ForegroundNegative = base08;
ForegroundNormal = base05; ForegroundNeutral = base09;
ForegroundPositive = base0B; ForegroundNormal = base05;
ForegroundVisited = base03; ForegroundPositive = base0B;
ForegroundVisited = base03;
};
"Colors:Complementary" = {
BackgroundAlternate = base01;
BackgroundNormal = base03;
DecorationFocus = base02;
DecorationHover = base02;
ForegroundActive = base09;
ForegroundInactive = base01;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base0A;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base02;
};
"Colors:Selection" = {
BackgroundAlternate = base0D;
BackgroundNormal = base0D;
DecorationFocus = base0D;
DecorationHover = base0D;
ForegroundActive = base05;
ForegroundInactive = base05;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base09;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base02;
};
"Colors:Tooltip" = {
BackgroundAlternate = base01;
BackgroundNormal = base00;
DecorationFocus = base02;
DecorationHover = base02;
ForegroundActive = base02;
ForegroundInactive = base01;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base09;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base03;
};
"Colors:View" = {
BackgroundAlternate = base01;
BackgroundNormal = base00;
DecorationFocus = base02;
DecorationHover = base02;
ForegroundActive = base02;
ForegroundInactive = base01;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base09;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base03;
};
"Colors:Window" = {
BackgroundAlternate = base01;
BackgroundNormal = base00;
DecorationFocus = base02;
DecorationHover = base02;
ForegroundActive = base02;
ForegroundInactive = base01;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base09;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base03;
};
General = {
ColorScheme = "Generated";
Name = "Generated";
fixed = "${fonts.mono.family},${
toString fonts.mono.size
},-1,5,50,0,0,0,0,0";
font = "${fonts.main.family},${
toString fonts.main.size
},-1,5,50,0,0,0,0,0";
menuFont = "${fonts.main.family},${
toString fonts.main.size
},-1,5,50,0,0,0,0,0";
shadeSortColumn = true;
smallestReadableFont = "${fonts.main.family},${
toString fonts.main.size
},-1,5,57,0,0,0,0,0,Medium";
toolBarFont = "${fonts.main.family},${
toString fonts.main.size
},-1,5,50,0,0,0,0,0";
TerminalApplication = "alacritty";
};
KDE = {
DoubleClickInterval = 400;
ShowDeleteCommand = true;
SingleClick = false;
StartDragDist = 4;
StartDragTime = 500;
WheelScrollLines = 3;
contrast = 4;
widgetStyle = "Breeze";
};
Icons = { Theme = "Papirus-Dark"; };
}; };
"Colors:Complementary" = {
BackgroundAlternate = base01;
BackgroundNormal = base03;
DecorationFocus = base02;
DecorationHover = base02;
ForegroundActive = base09;
ForegroundInactive = base01;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base0A;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base02;
};
"Colors:Selection" = {
BackgroundAlternate = base0D;
BackgroundNormal = base0D;
DecorationFocus = base0D;
DecorationHover = base0D;
ForegroundActive = base05;
ForegroundInactive = base05;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base09;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base02;
};
"Colors:Tooltip" = {
BackgroundAlternate = base01;
BackgroundNormal = base00;
DecorationFocus = base02;
DecorationHover = base02;
ForegroundActive = base02;
ForegroundInactive = base01;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base09;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base03;
};
"Colors:View" = {
BackgroundAlternate = base01;
BackgroundNormal = base00;
DecorationFocus = base02;
DecorationHover = base02;
ForegroundActive = base02;
ForegroundInactive = base01;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base09;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base03;
};
"Colors:Window" = {
BackgroundAlternate = base01;
BackgroundNormal = base00;
DecorationFocus = base02;
DecorationHover = base02;
ForegroundActive = base02;
ForegroundInactive = base01;
ForegroundLink = base0D;
ForegroundNegative = base08;
ForegroundNeutral = base09;
ForegroundNormal = base05;
ForegroundPositive = base0B;
ForegroundVisited = base03;
};
General = {
ColorScheme = "Generated";
Name = "Generated";
fixed = "${fonts.mono.family},${toString fonts.mono.size},-1,5,50,0,0,0,0,0";
font = "${fonts.main.family},${toString fonts.main.size},-1,5,50,0,0,0,0,0";
menuFont = "${fonts.main.family},${toString fonts.main.size},-1,5,50,0,0,0,0,0";
shadeSortColumn = true;
smallestReadableFont =
"${fonts.main.family},${toString fonts.main.size},-1,5,57,0,0,0,0,0,Medium";
toolBarFont = "${fonts.main.family},${toString fonts.main.size},-1,5,50,0,0,0,0,0";
TerminalApplication = "alacritty";
};
KDE = {
DoubleClickInterval = 400;
ShowDeleteCommand = true;
SingleClick = false;
StartDragDist = 4;
StartDragTime = 500;
WheelScrollLines = 3;
contrast = 4;
widgetStyle = "Breeze";
};
Icons = { Theme = "Papirus-Dark"; };
};
}; };
} }

View File

@ -28,6 +28,7 @@
himalaya himalaya
nheko nheko
packages packages
okular
copyq copyq
cursor cursor