# Font configuration
font:
normal:
family: "Fira Code"
style: Regular
bold:
family: "Fira Code"
style: Bold
italic:
family: "Fira Code"
style: Italic
bold_italic:
family: "Fira Code"
style: Bold Italic
size: 12.0
# Window settings
window:
dimensions:
columns: 80
lines: 24
# Colors (example colors)
colors:
primary:
background: '0x1d1f21'
foreground: '0xc5c8c6'
Remember that not all features might be one-to-one between the emulators, such as specific Alacritty settings which might not have an equivalent in Kitty, or vice versa. Please provide your Alacritty configuration, and I will be glad to help with more specific translations.
Based on the Alacritty configuration provided, here is how you could write a similar configuration for Kitty:
# Import color theme
# Since Kitty does not support importing themes like Alacritty,
# you have to manually copy the color settings from `xterm.yaml`
# to the `kitty.conf` file or use a tool to convert the colors if available.
# Window size
# In Alacritty, setting columns and lines to 0 has no clear equivalent in Kitty.
# Typically you would set a desired initial size in pixels.
# initial_window_width and initial_window_height have to be set in pixel values, like below:
initial_window_width 640
initial_window_height 480
# Window frame and title
hide_window_decorations yes
window_opacity 0.7
title_format Alacritty
dynamic_title yes
# Set class, instance, and general for the window
# Kitty doesn't provide an equivalent for X11 instance and general window classes directly.
# Scrollback buffer
scrollback_lines 10000
scrollback_pager_multiplier 1
# Font configuration
font_family InconsolataGoNerdFont
font_style Regular
font_size 19.0
# Cursor configuration
cursor_shape underline
cursor_blink_interval 0 # For always blinking
# Note: If blink_timeout in Alacritty is set to '0', it stops blinking. However, in Kitty setting the interval to '0' makes it always blink.
Few things to note:
- The window dimensions configuration in Alacritty (
columns: 0 and lines: 0) does not have a direct translation to Kitty, as Kitty sets the size in pixels, not columns or lines. You'll need to decide on an initial size or leave it out to use Kitty's default.
- Alacritty's support for importing other YAML files doesn't have a direct analogue in Kitty; you would need to manually copy the color values from
xterm.yawl into kitty.conf or convert them if needed.
- Alacritty's
decorations and decorations_theme_variant concepts do not translate directly to Kitty, but the hide_window_decorations option can be used to turn off the window borders and title bar.
class.instance and class.general in Alacritty are used for setting X window class properties, which might not have a direct option in Kitty, but you could manage it with startup scripts or desktop environment settings.
- For cursor configuration, Kitty does not have an exact equivalent to Alacritty's
blink_timeout. Setting cursor_blink_interval to 0 in Kitty will make the cursor always blink.
Please copy your theme settings separately since Kitty does not support the import statement for color themes, and manually adjust initial_window_width and initial_window_height based on your preferred window size in pixels.