kcc stands for "Kitty Configuration Convert". This tool automates the process of creating a kitty.conf configuration file. Simply write your desired configuration in a TOML file, and this tool will convert the TOML format into a kitty.conf format.
- Easy conversion from TOML to
kitty.conf
. - Simplifies the management of Kitty terminal configurations.
-
Write your configuration in a TOML file (ex:
config.toml
) in your kitty directory. Exampleconfig.toml
:# Example TOML configuration for Kitty terminal [font] family = "JetBrains Mono" size = 12.0 [color_scheme] background_opacity = 0.6 [window_layout] hide_window_decorations = "yes" [text_cursor] cursor = "#ff0000"
-
Use the cli tool
kcc.js
to convert the TOML file intokitty.conf
.cd path/to/kitty; kcc --file . or cd path/to/kitty; kcc --file ./config.toml
-
Your converted
kitty.conf
file will be ready for use with the Kitty terminal.
-
Clone the repository:
git clone https://github.com/suvanshenoy/kcc.js.git cd kcc.js/kcc
-
Generate kcc binary:
Run the following command in the project directory:
npx bun prod:gen