Customization

How to change flavor and accent color

Written By Kurt Schambach

Last updated 6 months ago

When running gith the first time, a config file storing your settings will be created at XDG_CONFIG_HOME/gith/config.json if XDG_CONFIG_HOME is set, otherwise at ~/.config/gith/config.json.

You can also manually edit the config file, although editing with gith ensures that no invalid configurations are used.

If you have anything you'd like to configure in the settings or options, don't hesitate to open an issue or Feature Request.

Built in

  1. Start gith with the usual command: gith

  2. Select “Options” (at the bottom)

  3. You should see the options “Change Flavor” and “Change Accent” and others, select whichever you want to change

  4. Select the option you want to use via arrow keys, and press enter to save (For the colors you get previews once you select them, but you still have to save via enter)

Scripts

You are also able to easily change flavor and accent of gith in scripts:

gith config update --flavor=Latte --accent=Red --initFetch=never

Useful for example if you want a script to switch between light and dark mode in all your catppuccin themed apps.

Run gith config help for more info