From 67f500a6baed0e20b4e8ffbcb4abba15ea3489f8 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 15 Apr 2022 22:35:48 -0400 Subject: [PATCH] lazygit is also a HM program; use a theme that works with kitty --- home/git.nix | 14 +++++++++++++- home/shellcommon.nix | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/home/git.nix b/home/git.nix index 02a2663..22144df 100644 --- a/home/git.nix +++ b/home/git.nix @@ -1,6 +1,5 @@ { pkgs, ... }: { - home.packages = [ pkgs.lazygit ]; programs.git = { package = pkgs.gitAndTools.gitFull; enable = true; @@ -27,4 +26,17 @@ core.symlinks = true; }; }; + + programs.lazygit = { + enable = true; + settings = { + # This looks better with the kitty theme. + gui.theme = { + lightTheme = false; + activeBorderColor = [ "white" "bold" ]; + inactiveBorderColor = [ "white" ]; + selectedLineBgColor = [ "reverse" "white" ]; + }; + }; + }; } diff --git a/home/shellcommon.nix b/home/shellcommon.nix index 9853acf..668887c 100644 --- a/home/shellcommon.nix +++ b/home/shellcommon.nix @@ -3,7 +3,7 @@ shellAliases = { e = "nvim"; g = "${pkgs.git}/bin/git"; - lg = "${pkgs.lazygit}/bin/lazygit"; + lg = "lazygit"; l = "${pkgs.exa}/bin/exa"; ll = "${pkgs.exa}/bin/exa -l"; ls = "l";