lazygit: init (#284)
This commit is contained in:
parent
bb3a519878
commit
eb64377e66
1 changed files with 26 additions and 0 deletions
26
modules/lazygit/hm.nix
Normal file
26
modules/lazygit/hm.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
colors = config.lib.stylix.colors.withHashtag;
|
||||
in {
|
||||
options.stylix.targets.lazygit.enable = config.lib.stylix.mkEnableTarget "lazygit" config.programs.lazygit.enable;
|
||||
|
||||
config = lib.mkIf config.stylix.targets.lazygit.enable {
|
||||
programs.lazygit.settings.gui.theme = {
|
||||
activeBorderColor = [
|
||||
colors.base07
|
||||
"bold"
|
||||
];
|
||||
inactiveBorderColor = [colors.base04];
|
||||
searchingActiveBorderColor = [colors.base02 "bold"];
|
||||
optionsTextColor = [colors.base06];
|
||||
selectedLineBgColor = [colors.base03];
|
||||
cherryPickedCommitBgColor = [colors.base02];
|
||||
cherryPickedCommitFgColor = [colors.base03];
|
||||
unstagedChangesColor = [colors.base08];
|
||||
defaultFgColor = [colors.base05];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue