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 = {
home.packages = [ pkgs.okular ];
xdg.configFile."okularpartrc".text = pkgs.my-lib.genIni {
"Dlg Accessibility" = { "Dlg Accessibility" = {
RecolorBackground = thmDec.base00; RecolorBackground = base00;
RecolorForeground = thmDec.base05; RecolorForeground = base05;
}; };
"Document" = { "Document" = {
ChangeColors = true; ChangeColors = true;
PaperColor = thmDec.base00; PaperColor = base00;
RenderMode = "Recolor"; RenderMode = "Recolor";
}; };
"Main View" = { ShowLeftPanel = false; }; "Main View" = { ShowLeftPanel = false; };
PageView = { PageView = {
BackgroundColor = thmDec.base00; BackgroundColor = base00;
UseCustomBackgroundColor = true; UseCustomBackgroundColor = true;
}; };
}; };
};
} }

View File

@ -34,7 +34,8 @@ 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);
lib.generators.toGitINI {
"Colors:Button" = { "Colors:Button" = {
BackgroundAlternate = base01; BackgroundAlternate = base01;
BackgroundNormal = base01; BackgroundNormal = base01;
@ -122,13 +123,22 @@ with pkgs.my-lib; {
General = { General = {
ColorScheme = "Generated"; ColorScheme = "Generated";
Name = "Generated"; Name = "Generated";
fixed = "${fonts.mono.family},${toString fonts.mono.size},-1,5,50,0,0,0,0,0"; fixed = "${fonts.mono.family},${
font = "${fonts.main.family},${toString fonts.main.size},-1,5,50,0,0,0,0,0"; toString fonts.mono.size
menuFont = "${fonts.main.family},${toString fonts.main.size},-1,5,50,0,0,0,0,0"; },-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; shadeSortColumn = true;
smallestReadableFont = smallestReadableFont = "${fonts.main.family},${
"${fonts.main.family},${toString fonts.main.size},-1,5,57,0,0,0,0,0,Medium"; toString fonts.main.size
toolBarFont = "${fonts.main.family},${toString fonts.main.size},-1,5,50,0,0,0,0,0"; },-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"; TerminalApplication = "alacritty";
}; };
KDE = { KDE = {

View File

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