From 108c7a3378fda381ab0b31982bdc28c60e9260f2 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Thu, 28 Dec 2023 01:20:28 +0100 Subject: [PATCH] Add lazygit nix-colors integration --- home/features/cli/lazygit.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/home/features/cli/lazygit.nix b/home/features/cli/lazygit.nix index 0d58dae..197631e 100644 --- a/home/features/cli/lazygit.nix +++ b/home/features/cli/lazygit.nix @@ -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}"]; + }; + }; + }; }; }