From 59b820146763424db380b4f5ed82ccaf0fae923b Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 17 Jul 2026 23:50:41 +0530 Subject: 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 --- modules/development/lazygit/default.nix | 35 ++++++++++++++++----------------- 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'modules/development/lazygit/default.nix') 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; -- cgit v1.2.3