Configuration
pixtuoid keeps its settings in ~/.config/pixtuoid/config.toml, or in
$XDG_CONFIG_HOME/pixtuoid/config.toml when that is an absolute path, and
creates the file on first launch.
Every setting is optional: leave a key out and pixtuoid uses its default. A
command-line flag overrides the file for that run, for example
pixtuoid run --theme dracula.
Example
theme = "cyberpunk"
max-desks = 8
# One stanza per pet. Omit the whole section to show all pets with default
# names; use `pets = []` to disable all pets. `name` is optional (shown in
# the pet's hover tooltip). Keep [[pets]] last — it's a table section.
[[pets]]
kind = "cat"
name = "Whiskers" # optional — omit for "Office Cat"
[[pets]]
kind = "dog" # name omitted → "Office Dog"
Settings you set
| Key | Default | What it sets |
|---|---|---|
theme | "normal" | The color theme. pixtuoid run --help lists the built-in themes, and Themes shows how to pick one live. |
max-desks | auto | The most desks a floor holds, 1 or more. Agents past that open another floor. Unset, the terminal’s size decides; 0 is ignored with a warning. It applies to the run TUI: pixtuoid floating sizes its floors from its window. |
look | "auto" | Which office the TUI draws: see The look. |
motion | "auto" | How much of the office moves: see Motion. |
[[pets]] | every kind, default names | The office’s pets: see Pets. |
The look
The TUI draws either the cutaway, a detailed pixel office in terminal graphics, or the classic office in half-block text cells.
autodraws the cutaway where the terminal supports terminal graphics, else the classic office. It doesn’t ask the terminal over ssh, where every repaint would cross the network, or inside GNU screen, which shows the question as its hardstatus.cutawayalways asks.classicstarts in the classic office, and asks whereautodoes, for the cutawaytcan switch to.
An unknown look value is ignored with a warning. run --look <value>
overrides the setting for one run. run --protocol <value> draws the cutaway
in that protocol whatever the terminal reports; pixtuoid run --help lists
the protocols. Terminal graphics need macOS or Linux, so on Windows run and
doctor stay classic. pixtuoid doctor shows what your terminal supports.
Motion
How much of the office moves: flickers, twinkles, a pet’s roam, lightning, New Year’s fireworks.
fullmoves all of it.calmplays it slower, with fewer repaints, but walks asfulldoes.stillholds it still, for reduced motion: a walk ends where it’s going at once, and the elevator stays shut.autoisfull, exceptcalmover SIXEL or iTerm2 graphics, inside tmux or over ssh. The floating window’sautoisfull.
An unknown value is ignored with a warning.
Pets
Each [[pets]] stanza adds one pet:
kindis"cat"or"dog", and required. An unknownkindis skipped, and the other settings still load.nameis optional: the pet’s hover-tooltip label,Office CatorOffice Dogwhen left out.
Leave the section out for every pet, or set pets = [] for none. Keep it last
in the file, since it’s a table section.
Settings pixtuoid writes
Don’t edit these: pixtuoid rewrites them.
| Key | What it holds |
|---|---|
last-seen-version | The last version whose upgrade popup you’ve seen, so the popup shows once per upgrade. pixtuoid rewrites it when the popup shows, on first launch, or to repair a value it can’t parse, not on every launch. |
[sources] | Which hookless CLI, Copilot CLI, is connected (source-id = true). Every other CLI is connected when pixtuoid’s hooks are in its own config, so it never appears here. |
[floating] | The pixtuoid floating window’s size, place and zoom: see The floating window. |
[audio] | Whether the office’s sound is muted, and its volume: see Sound. |
Connecting or disconnecting a source rewrites [sources], whether in the
Sources panel (s) or with pixtuoid connect, disconnect,
sources set or setup --yes. While nothing is connected, the onboarding
wizard offers the CLIs it detects. A disconnected source’s characters stay
hidden even while its transcripts are still on disk.
The floating window
[floating] holds the window’s width, height, x and y, rewritten when
the window closes.
- A size too small for the office to lay out opens at the smallest one that does.
xandyare dropped when the OS can’t report the window’s position; the next launch lets the OS place it.zoomis how many density steps the office is zoomed from its automatic scale: Cmd/Ctrl+and-change it, and Cmd/Ctrl0resets it. At zero zoom pixtuoid leaves thezoomkey out of the file. The zoom holds where the office still lays out.- An
opacitykey from an older release is ignored and left in the file.
Sound
The office starts muted (muted = true): a terminal app never speaks
uninvited.
- Turning it on. Press
min the TUI or the floating window. The toggle is saved in[audio], so the office starts as you left it, and the sound system only starts on the first unmute, so muted costs nothing. A ♩ in the TUI’s footer means you’d hear sound right now. - Volume.
volumeruns from 0.0 to 1.0, clamped, and defaults to 1.0. It scales everything on a perceptual curve, so low percents are really quiet, and the whole mix sits under your work audio by design.+/-nudge it live and save it; a♩ N%readout flashes in the TUI’s footer, or in the floating window’s bottom-right corner.+from muted also unmutes. - What plays. An endless run of lofi songs. Once the office’s night is half in (it follows the same sundown as the lights), they turn to night songs. Each song darkens in rain and plays as busy as the floor you’re viewing: running agents fill the band, and typing density tracks them; other floors are silent until you ride to them. Gentle rain plays when the office’s weather rains (the weather is the same on every floor, outside the windows), and one-shots: a door chime when someone walks in, and printer and vending-machine moments. Every sound is made in code, with no audio files.
- Linux. There is no release archive or npm package for Linux: a binary
with sound needs
libasound.so.2when it loads, which neither can bring, and cpal can’t load it later yet (cpal#1421). Homebrew’s Linux bottle bringsalsa-lib(formula).cargo installneedspkg-configand the ALSA headers,libasound2-devon Debian and Ubuntu oralsa-lib-develon Fedora (alsa-sys), or--no-default-features --features portablefor a build without sound.
Themes
Press t in the TUI for a picker that previews every theme live (j/k or
↑/↓), and the look where the terminal draws the cutaway (h/l or
←/→). Your choice is written to config.toml. --theme <name> overrides
it for one run; pixtuoid run --help lists the built-in themes.
Logging & troubleshooting
The TUI and the floating window write their diagnostics to a log file, not to the terminal:
| Where | ~/.local/state/pixtuoid/logs/, or $XDG_STATE_HOME/pixtuoid/logs/ when that is an absolute path: one file per run, named for its start |
| Your own file | $PIXTUOID_LOG=/path/to/file logs every run to that one file. On Unix a run opens it only if it isn’t a symlink and is yours with one link, a character device such as /dev/null aside |
| Level | warn and above. A stricter --log-level records less. With --log-level debug or trace, or a $PIXTUOID_LOG file, the file records at --log-level’s level, whose default pixtuoid --help shows. A set $RUST_LOG that parses replaces the level in every case; one that doesn’t is ignored |
| How long | a run’s file is removed a week after its last write, unless the run is still open. A $PIXTUOID_LOG file instead rotates to <name>.old when a run starts and finds it past its size cap |
A crash writes crash.log beside that logs/ directory, whatever
$PIXTUOID_LOG says. Every other command, such as run --headless or
doctor, logs to stderr.
Warnings about config.toml, such as an unknown theme, a bad [[pets]] kind
or malformed TOML, print to stderr before the office takes over the
screen: scroll back after quitting to read them. If a data source dies while
the office runs, such as the hook listener, the footer keeps a ⚠ warning up
and the full error is in the log file.
pixtuoid connect says it can’t locate pixtuoid-hook
Connecting a source installs a hook that runs the small pixtuoid-hook shim,
so connect has to find it: first on $PATH, then next to the pixtuoid
binary. Every packaged install (Homebrew, npm, the release archives) ships
both, but cargo install pixtuoid installs only the main binary, and moving
an install by hand can separate them.
Either install the shim (cargo install pixtuoid-hook), or set
$PIXTUOID_HOOK to its absolute path. That wins over both places, and it
is written into the agent CLI’s config, which is why it must be absolute.
The truecolor check
The office is drawn in 24-bit color. When pixtuoid run starts, it asks
your terminal whether it supports truecolor, rather than guessing from the
terminal’s name: it sets an unlikely 24-bit color and reads it back (a
DECRQSS query). If the terminal doesn’t confirm, pixtuoid prints a one-line
warning to stderr. It only warns, never blocks, and the warning scrolls away
once the office takes over. $COLORTERM=truecolor counts as a yes and skips
the query. pixtuoid doctor shows the verdict.
A terminal that is truecolor but doesn’t answer the query can still get the
warning. tmux doesn’t answer it
(input.c), and
sets $COLORTERM in its panes only from 3.6
(environ.c), so a
pane in an older tmux can get the warning too. Silence it with $PIXTUOID_NO_TRUECOLOR_WARN=1 (any
of 1, true, yes or on).
When color is disabled ($NO_COLOR, $TERM=dumb)
The office has no legible black-and-white form, so rather than draw blocks
you can’t read, pixtuoid run refuses to start the office and says why:
$NO_COLORset to any non-empty value (the no-color.org convention) turns color off. Unset it to run the office:$CLICOLOR_FORCEand its alias$FORCE_COLORforce color only when it’s unset (bixense). An empty$NO_COLORdoesn’t turn color off, and is ignored.$TERM=dumbmeans the terminal can’t show escape sequences or color at all: ncurses’dumbentry has no such capability (terminfo.src).
Use a graphical terminal, or pixtuoid run --headless for a plain-text
summary, which works without color. pixtuoid doctor shows the color status.
Only the run TUI checks this: run --headless, doctor, sources and the
floating window are unaffected.