diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-17 23:50:41 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-17 23:50:41 +0530 |
| commit | 59b820146763424db380b4f5ed82ccaf0fae923b (patch) | |
| tree | b341af3bbb57024b56097b662d6b5854cab83bab /modules/development/lazygit | |
| parent | 35910e2c86a8d8b50de1654f38a8a225ea8ba2a9 (diff) | |
| download | home-manager-config-59b820146763424db380b4f5ed82ccaf0fae923b.tar.gz home-manager-config-59b820146763424db380b4f5ed82ccaf0fae923b.zip | |
refactor: standardize file-level comments, drop unused pkgs, and theme lazygit with base16
- Move inline comments to top of file across all modules for consistent
style
- Add descriptive comments to files missing them (aggregators,
assertions, scripts, flake)
- Remove unused `pkgs` parameter from i3/keybindings.nix and
zathura/default.nix
- Drop explicit `package = pkgs.zathura` (home-manager provides the
default)
- Delete stale meli-sync.sh (migrated to neomutt)
- Remove extraneous blank lines for consistent formatting
- Theme lazygit with config.scheme base16 colors instead of hardcoded
names
Diffstat (limited to 'modules/development/lazygit')
| -rw-r--r-- | modules/development/lazygit/default.nix | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix index e821258..8f5585e 100644 --- a/modules/development/lazygit/default.nix +++ b/modules/development/lazygit/default.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Lazygit - A simple terminal UI for git commands +{ config, lib, ... }: { options.development.lazygit = { enable = lib.mkEnableOption "Enables lazygit."; @@ -14,33 +13,33 @@ enableZshIntegration = config.terminal.zsh.enable; settings = { gui = { - theme = { + theme = with config.scheme.withHashtag; { lightTheme = false; activeBorderColor = [ - "blue" + base0D "bold" ]; - inactiveBorderColor = [ "brightblack" ]; - optionsTextColor = [ "blue" ]; - selectedLineBgColor = [ "black" ]; - selectedRangeBgColor = [ "black" ]; - cherryPickedCommitBgColor = [ "cyan" ]; - cherryPickedCommitFgColor = [ "blue" ]; - markedBaseCommitBgColor = [ "yellow" ]; - markedBaseCommitFgColor = [ "blue" ]; - unstagedChangesColor = [ "red" ]; - defaultFgColor = [ "white" ]; + inactiveBorderColor = [ base03 ]; + optionsTextColor = [ base0D ]; + selectedLineBgColor = [ base01 ]; + selectedRangeBgColor = [ base01 ]; + cherryPickedCommitBgColor = [ base0C ]; + cherryPickedCommitFgColor = [ base0D ]; + markedBaseCommitBgColor = [ base0A ]; + markedBaseCommitFgColor = [ base0D ]; + unstagedChangesColor = [ base08 ]; + defaultFgColor = [ base05 ]; searchingActiveBorderColor = [ - "yellow" + base0A "bold" ]; }; authorColors = { - "*" = "magenta"; + "*" = (with config.scheme.withHashtag; base0E); }; branchColors = { - "master" = "red"; - "main" = "red"; + "master" = (with config.scheme.withHashtag; base08); + "main" = (with config.scheme.withHashtag; base08); }; showIcons = true; scrollHeight = 2; |
