Kitty

Project: https://sw.kovidgoyal.net/kitty/

Setup

No additional plugins are required to control kitty themes but there is a tiny amount of setup:

  1. Split your dark mode and light mode themes into separate .conf files, or skip this step and use pre-defined themes from iTerm2-Color-Schemes: ~/.config/kitty/{dark,light}.thcon.conf
  2. Use the paths to those files in thcon.toml (examples below)
  3. Replace the color settings in your main kitty.conf with include ~/.local/share/thcon/kitty.conf

In other words:

 # kitty.conf

-background #002b36
-foreground #839496
-# ...
+include ~/.local/share/thcon/kitty.conf
# ~/.config/kitty/dark.thcon.conf

background #002b36
foreground #839496
# ...
# ~/.config/kitty/light.thcon.conf

background #fdf6e3
foreground #657b83
# ...

Configuration

Section: [kitty]

Configuration keys, defaults, and descriptions
Key Default Description
dark (none)

Path to the file defining dark mode settings

light (none)

Path to the file defining light mode settings

disabled false Disables Kitty

Example

[kitty]
dark = "~/src/iTerm2-Color-Schemes/kitty/catppuccin-mocha.conf"
light = "~/src/iTerm2-Color-Schemes/kitty/catppuccin-latte.conf"