Skip to content

barona-mika-vilpas/lazygit

 
 

Repository files navigation

Logo
Catppuccin for Lazygit

Previews

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

Usage

  1. Clone this repository locally
  2. Ensure ~/.config/lazygit exists. If it doesn't, you can run lazygit to launch and setup the directory.

At this point, you will have to decide how you want to load the theme.

You can either copy it straight into your ~/.config/lazygit/config.yml file, or add flags to lazygit which will merge it from our presets.

If you want to merge with your own config:

  1. Choose the flavor you want (from ./themes)

  2. Choose the accent you want from within the flavor directory.

  3. Replace the theme section of ~/.config/lazygit/config.yml with the theme you want to use (from themes).

    For example, if you want to use the catppuccin mocha theme, with the blue accent, then copy the contents of themes/mocha/mocha-blue.yml and paste them directly into your lazygit config.yml as follows:

    config.yml
    gui:
      # Use the mocha catppuccin theme
    		theme:
    			activeBorderColor:
    				- '#89b4fa'
    				- bold
    			inactiveBorderColor:
    				- '#a6adc8'
    			optionsTextColor:
    				- '#89b4fa'
    			selectedLineBgColor:
    				- '#313244'
    			selectedRangeBgColor:
    				- '#313244'
    			cherryPickedCommitBgColor:
    				- '#45475a'
    			cherryPickedCommitFgColor:
    				- '#89b4fa'
    			unstagedChangesColor:
    				- '#f38ba8'
    			defaultFgColor:
    				- '#cdd6f4'
    			searchingActiveBorderColor:
    				- '#f9e2af'
    
  4. Close and re-open lazygit to see your new theme!

If you want to use our preset:

  1. Choose the flavor you want (from ./themes-mergable/)
  2. Choose the accent you want from within the flavor directory.
  3. Copy your chosen theme file into ~/.config/lazygit
  4. Change your lazygit startup command (you may want to set a shell alias) to the following:
	# Replacing <your-theme> with the relevant theme file
	lazygit --use-config-file="$HOME/.config/lazygit/config.yml,<your-theme>.yml"
	# or
	LG_CONFIG_FILE="$HOME/.config/lazygit/config.yml,<your-theme>.yml" lazygit
  1. Close and re-open lazygit to see your new theme!

🙋 FAQ

  • Q: "Why is the background wrong?"
    A: Lazygit uses your terminal background. You should set it to the relevant background for your theme.

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org

About

🍴 Soothing pastel theme for Lazygit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.6%
  • Nix 22.4%