Skip to content

A tool to convert TOML file configuration to kitty.conf

Notifications You must be signed in to change notification settings

suvanshenoy/kcc.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

kcc.js

What is it?

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.

Features

  • Easy conversion from TOML to kitty.conf.
  • Simplifies the management of Kitty terminal configurations.

How to Use

  1. Write your configuration in a TOML file (ex: config.toml) in your kitty directory. Example config.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"
    
  2. Use the cli tool kcc.js to convert the TOML file into kitty.conf.

     cd path/to/kitty; kcc --file .   
    
                     or
    
     cd path/to/kitty; kcc --file ./config.toml
  3. Your converted kitty.conf file will be ready for use with the Kitty terminal.

Installation

  1. Clone the repository:

    git clone https://github.com/suvanshenoy/kcc.js.git
    cd kcc.js/kcc
  2. Generate kcc binary:

    Using npm

    Run the following command in the project directory:

    npx bun prod:gen

About

A tool to convert TOML file configuration to kitty.conf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published