Skip to content

Configuration

Attyx is configured via a TOML file and/or CLI flags. CLI flags take precedence over the config file.

Config file location:

  • $XDG_CONFIG_HOME/attyx/attyx.toml (default: ~/.config/attyx/attyx.toml)

Precedence: defaults < config file < CLI flags

[font]
family = "JetBrains Mono"
size = 14
cell_width = "100%" # percentage or fixed pixels
cell_height = 20 # percentage or fixed pixels
fallback = ["Symbols Nerd Font Mono", "Noto Color Emoji"]
OptionTypeDefaultDescription
familystring"JetBrains Mono"Font family name
sizeinteger14Font size in points
cell_widthstring or int"100%"Cell width — percentage ("110%") or fixed pixels
cell_heightstring or int"100%"Cell height — percentage ("115%") or fixed pixels
fallbackstring[][]Fallback font families
[theme]
name = "default"
OptionTypeDefaultDescription
namestring"default"Theme name
[scrollback]
lines = 20000
OptionTypeDefaultDescription
linesinteger20000Scrollback buffer size in lines. Set to 0 to disable.
[reflow]
enabled = true
OptionTypeDefaultDescription
enabledbooleantrueReflow text when terminal is resized
[cursor]
shape = "block"
blink = true
trail = false
OptionTypeDefaultDescription
shapestring"block""block", "beam", or "underline"
blinkbooleantrueEnable cursor blinking
trailbooleanfalseEnable cursor trail effect
[program]
shell = "/bin/zsh"
args = ["-l"]
OptionTypeDefaultDescription
shellstring$SHELL or /bin/shShell program to run
argsstring[][]Extra arguments passed to the shell
[logging]
level = "info"
file = "/tmp/attyx.log"
OptionTypeDefaultDescription
levelstring"info""err", "warn", "info", "debug", or "trace"
filestringAppend logs to this file
[background]
opacity = 1.0
blur = 30
OptionTypeDefaultDescription
opacityfloat1.0Background opacity, 0.0 (transparent) to 1.0 (opaque)
blurinteger30Blur radius. Only applies when opacity < 1.0.
[window]
decorations = true
padding = 0
padding_x = 0
padding_y = 0
padding_left = 0
padding_right = 0
padding_top = 0
padding_bottom = 0
OptionTypeDefaultDescription
decorationsbooleantrueShow window title bar
paddinginteger0Padding on all sides
padding_xinteger0Left + right padding
padding_yinteger0Top + bottom padding
padding_leftinteger0Left padding
padding_rightinteger0Right padding
padding_topinteger0Top padding
padding_bottominteger0Bottom padding

Send SIGUSR1 or press Ctrl+Shift+R to reload the config at runtime.

Reloads immediately: cursor shape, cursor blink, scrollback lines, font family, font size, cell width, cell height

Requires restart: background opacity, background blur, logging level, logging file