From eb64377e66122de7a36ca7a611aa97ddf4c8e5e8 Mon Sep 17 00:00:00 2001 From: Andy Bell Date: Thu, 14 Mar 2024 12:47:33 +0000 Subject: [PATCH] lazygit: init (#284) --- modules/lazygit/hm.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 modules/lazygit/hm.nix diff --git a/modules/lazygit/hm.nix b/modules/lazygit/hm.nix new file mode 100644 index 00000000..4235a637 --- /dev/null +++ b/modules/lazygit/hm.nix @@ -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]; + }; + }; +}