diff options
Diffstat (limited to 'modules/development/lazygit')
| -rw-r--r-- | modules/development/lazygit/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix index 027ef7f..60913c0 100644 --- a/modules/development/lazygit/default.nix +++ b/modules/development/lazygit/default.nix @@ -14,6 +14,22 @@ }; }; config = { + home.file.".local/share/icons/hicolor/scalable/apps/git.svg" = + lib.mkIf config.development.lazygit.enable + { + source = ../../../assets/icons/apps/git.svg; + }; + + xdg.desktopEntries."lazygit" = lib.mkIf config.development.lazygit.enable { + name = "lazygit"; + exec = "${lib.getExe config.terminal.kitty.package} --class lazygit -e ${lib.getExe config.development.lazygit.package}"; + icon = "git"; + categories = [ "Development" ]; + comment = "A simple terminal UI for git commands"; + terminal = false; + type = "Application"; + }; + programs.lazygit = lib.mkIf config.development.lazygit.enable { enable = true; enableBashIntegration = config.terminal.bash.enable; |
