kitty
Generate colour themes for the Kitty terminal emulator.
Description
Kitty is a fast, feature-rich, GPU-based terminal emulator. The plugin generates a colour configuration file with full 256-colour palette support.
Output path
~/.config/kitty/current-theme.conf
Usage
tinct generate -i image -p ~/wallpaper.jpg -o kitty
With auto-reload
tinct generate -i image -p ~/wallpaper.jpg -o kitty --kitty.reload
Flags
| Flag | Default | Description |
|---|---|---|
--kitty.reload | false | Reload Kitty after generation |
Configuration
Include the theme in your kitty.conf:
include current-theme.conf
Generated output
# Kitty theme generated by tinct
foreground #cdd6f4
background #1e1e2e
selection_foreground #1e1e2e
selection_background #f5e0dc
cursor #f5e0dc
cursor_text_color #1e1e2e
# Black
color0 #45475a
color8 #585b70
# Red
color1 #f38ba8
color9 #f38ba8
# Green
color2 #a6e3a1
color10 #a6e3a1
# Yellow
color3 #f9e2af
color11 #f9e2af
# Blue
color4 #89b4fa
color12 #89b4fa
# Magenta
color5 #f5c2e7
color13 #f5c2e7
# Cyan
color6 #94e2d5
color14 #94e2d5
# White
color7 #bac2de
color15 #a6adc8
Manual reload
If not using --kitty.reload:
kill -SIGUSR1 $(pgrep kitty)
Or from within Kitty:
ctrl+shift+f5