Add lazygit nix-colors integration

This commit is contained in:
GHOSCHT 2023-12-28 01:20:28 +01:00
parent af735eecad
commit 108c7a3378
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -1,5 +1,21 @@
{
{config, ...}: {
programs.lazygit = {
enable = true;
settings = with config.colorScheme.colors; {
gui = {
theme = {
activeBorderColor = ["#${base0D}" "bold"];
inactiveBorderColor = ["#${base05}"];
optionsTextColor = ["#${base0D}"];
selectedLineBgColor = ["${base02}"];
selectedRangeBgColor = ["${base02}"];
cherryPickedCommitBgColor = ["#${base03}"];
cherryPickedCommitFgColor = ["#${base0D}"];
unstagedChangesColor = ["#${base08}"];
defaultFgColor = ["#${base05}"];
searchingActiveBorderColor = ["#${base0A}"];
};
};
};
};
}