diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-17 23:09:29 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-17 23:09:29 +0530 |
| commit | 35910e2c86a8d8b50de1654f38a8a225ea8ba2a9 (patch) | |
| tree | ce5f20e93c3d3229c6b00cfac85e32a7a9246955 | |
| parent | 485c33950ddbc5b50bb278bc193c2cc0346d7b7f (diff) | |
| download | home-manager-config-35910e2c86a8d8b50de1654f38a8a225ea8ba2a9.tar.gz home-manager-config-35910e2c86a8d8b50de1654f38a8a225ea8ba2a9.zip | |
feat: updated the lazygit theme
Using custom defined colors for the theme of lazygit ui, to be more
inline with the colorscheme of the whole config
| -rw-r--r-- | modules/development/lazygit/default.nix | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix index 2c920c2..e821258 100644 --- a/modules/development/lazygit/default.nix +++ b/modules/development/lazygit/default.nix @@ -5,7 +5,6 @@ options.development.lazygit = { enable = lib.mkEnableOption "Enables lazygit."; }; - config = lib.mkIf config.development.lazygit.enable { programs.lazygit = { enable = true; @@ -13,11 +12,35 @@ enableFishIntegration = config.programs.fish.enable; enableNushellIntegration = config.programs.nushell.enable; enableZshIntegration = config.terminal.zsh.enable; - settings = { gui = { theme = { lightTheme = false; + activeBorderColor = [ + "blue" + "bold" + ]; + inactiveBorderColor = [ "brightblack" ]; + optionsTextColor = [ "blue" ]; + selectedLineBgColor = [ "black" ]; + selectedRangeBgColor = [ "black" ]; + cherryPickedCommitBgColor = [ "cyan" ]; + cherryPickedCommitFgColor = [ "blue" ]; + markedBaseCommitBgColor = [ "yellow" ]; + markedBaseCommitFgColor = [ "blue" ]; + unstagedChangesColor = [ "red" ]; + defaultFgColor = [ "white" ]; + searchingActiveBorderColor = [ + "yellow" + "bold" + ]; + }; + authorColors = { + "*" = "magenta"; + }; + branchColors = { + "master" = "red"; + "main" = "red"; }; showIcons = true; scrollHeight = 2; @@ -25,6 +48,10 @@ scrollPastBottom = true; mouseEvents = true; border = "single"; + commitHashLength = 4; + showBranchCommitHash = true; + showDivergenceFromBaseBranch = "arrowAndNumber"; + autoFetch = false; }; git = { log.showWholeGraph = true; |
