id = "btop"
name = "btop++"
homepage = "https://github.com/aristocratos/btop"
description = "Resource monitor that shows usage and stats for processor, memory, disks, network and processes."
icon = "https://raw.githubusercontent.com/aristocratos/btop/main/Img/icon.svg"
executables = ["btop"]
platforms = ["macos", "linux"]
[dotfiles]
paths = [
"[configHome]/btop/btop.conf",
"[configHome]/btop/themes/",
]
exclude = [
"[configHome]/btop/btop.log",
"~/.local/state/btop.log",
]
secret = []
[[dotfiles.machine_lines]]
file = "[configHome]/btop/btop.conf"
match = { prefix = ["net_iface"] }
scope = "backup"
[commands]
format = 1
label = "Start btop++"
description = "Launch the resource monitor with display options. Short single-dash spellings like -lc are left out."
quality = "ai-draft"
base = "fig:btop"
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/btop.ts"
license = "MIT"
[[commands.field]]
id = "preset"
label = "Start preset"
description = "Preset number from 0 to 9."
type = "integer"
option = ["--preset", "-p"]
suggestions = [{ value = "0", label = "0" }, { value = "1", label = "1" }, { value = "2", label = "2" }, { value = "3", label = "3" }, { value = "4", label = "4" }, { value = "5", label = "5" }, { value = "6", label = "6" }, { value = "7", label = "7" }, { value = "8", label = "8" }, { value = "9", label = "9" }]
sources = ["fig"]
[[commands.field]]
id = "low_color"
label = "Low color"
description = "Disable truecolor; convert 24-bit colors to 256-color."
type = "boolean"
option = ["--low-color"]
sources = ["fig"]
[[commands.field]]
id = "tty_on"
label = "Force TTY mode"
description = "Max 16 colors and tty-friendly graph symbols."
type = "boolean"
option = ["--tty_on", "-t"]
sources = ["fig"]
[[commands.field]]
id = "tty_off"
label = "Force TTY mode off"
type = "boolean"
option = ["--tty_off"]
sources = ["fig"]
[[commands.field]]
id = "utf_force"
label = "Force UTF-8"
description = "Start even if no UTF-8 locale was detected."
type = "boolean"
option = ["--utf-force"]
sources = ["fig"]
[[commands.field]]
id = "debug"
label = "Debug mode"
description = "Show microsecond timers and set loglevel to DEBUG."
type = "boolean"
option = ["--debug"]
sources = ["fig"]
[[commands.task]]
id = "tty"
label = "Linux console friendly"
fields = ["tty_on", "low_color"]
required = []
set = { tty_on = [true], low_color = [true] }
[[commands.task]]
id = "preset"
label = "Start on a preset"
fields = ["preset"]
required = ["preset"]
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["preset", "low_color", "tty_on", "tty_off"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["utf_force", "debug"]