id = "kitty"
name = "kitty"
homepage = "https://sw.kovidgoyal.net/kitty/"
description = "kitty - the fast, feature-rich, cross-platform, GPU based terminal."
icon = "https://sw.kovidgoyal.net/kitty/_static/kitty.svg"
executables = ["kitty", "kitten"]
platforms = ["macos", "linux"]
[dotfiles]
paths = ["[configHome]/kitty/", "[preferences]/kitty/"]
secret = []
[commands]
format = 1
label = "Launch kitty"
description = "Open a kitty window with title, directory, config and start options. Remote control and kittens are left out."
quality = "ai-draft"
base = "fig:kitty"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/kitty.ts"
license = "MIT"
[[commands.field]]
id = "title"
label = "Window title"
type = "string"
option = ["-T", "--title"]
sources = ["fig"]
[[commands.field]]
id = "directory"
label = "Working directory"
type = "path"
option = ["-d", "--directory", "--working-directory"]
path = { kind = "directory", role = "input" }
sources = ["fig"]
[[commands.field]]
id = "config"
label = "Config file"
type = "path"
option = ["-C", "--config"]
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.field]]
id = "session"
label = "Session file"
type = "path"
option = ["--session"]
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.field]]
id = "start_as"
label = "Start as"
type = "string"
option = ["--start-as"]
suggestions = [{ value = "normal", label = "Normal" }, { value = "fullscreen", label = "Fullscreen" }, { value = "maximized", label = "Maximized" }, { value = "minimized", label = "Minimized" }]
sources = ["fig"]
[[commands.field]]
id = "hold"
label = "Stay open after exit"
type = "boolean"
option = ["--hold"]
sources = ["fig"]
[[commands.field]]
id = "single_instance"
label = "Single instance"
type = "boolean"
option = ["-1", "--single-instance"]
sources = ["fig"]
[[commands.field]]
id = "command"
label = "Program and arguments"
type = "string"
position = 0
multiple = true
sources = ["fig"]
[[commands.task]]
id = "run"
label = "Run a program"
set = { hold = [true] }
fields = ["command", "directory", "title", "hold"]
required = ["command"]
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["title", "directory", "command", "hold"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["config", "session", "start_as", "single_instance"]