Skip to content

Configure Settings

Paneflow's Settings panel is the human UI for common preferences. It is not the full configuration reference. Use it for the settings you adjust often: editor, shell, theme, shortcuts, notifications, terminal display, workspace templates, spaces, worktrees, agent launchers, accounts, hooks, and AI access.

TL;DR. A Settings row takes effect as soon as you change it, then Paneflow writes it to paneflow.json; if the write fails, the row goes back to the stored value and a toast says so. Keyboard shortcuts are the exception: they apply once the file is saved and reloaded. The Hooks switch of an agent writes the agent's own config files. Advanced keys remain available in paneflow.json.

Settings map

The sidebar groups the pages as General, Appearance, and Keyboard Shortcuts; Terminal, Editor, Workspaces, Spaces, and Worktrees; then Agents and Usage.

PageWhat it controlsWrites toApplies
GeneralDefault editor for files and folders, Shell in the integrated terminal, When quitting with sessions running, and Native OS notifications, which alert you when an agent needs attention or finishes while Paneflow is unfocused, and also carry the notifications terminal programs send.external_editor, default_shell, on_quit, agent_panel.notify_when_agent_waitingThe editor is used from the next file you open. The shell applies to new terminals; open ones keep theirs until restarted. Quit behavior and notifications hot-reload.
AppearanceThree cards. Theme: System, Light, or Dark, and the Preset. Interface: Interface style, Background style, Workspace icon, and App icon. Preferences: Reduce motion and Comfortable density.theme, interface_style, background_style, workspace_icon, app_icon, reduce_motion, comfortable_densityHot-reloads.
Keyboard ShortcutsEvery action with its binding, a search by name or keys, Find by keys to look up an action by pressing its combination, a Reset on each changed row, a warning when a combination is already taken that names the action holding it, and Restore defaults once any binding has changed.shortcutsApplies after the config save and reload. Restore defaults first copies the file to paneflow.json.before-reset, then removes shortcuts.
TerminalFont family, size, weight, line height, and cell width; cursor shape and color; integrated glyphs, color emoji, Scrollbar, and Minimum contrast.font_family, font_size, font_weight, line_height, cell_width, terminal.cursor_shape, terminal.cursor_color, terminal.integrated_glyphs, terminal.color_emoji, terminal.scrollbar, terminal.minimum_contrastFonts, cursor color, glyphs, emoji, and contrast hot-reload in open terminals. Cursor shape and scrollbar apply to the next new terminal.
EditorSemantic highlighting from a language server, and Language server permissions, which forgets the projects where you allowed a server to start.editor.semantic_tokens; the permissions live in language-server-trust.json in the Paneflow homeHot-reloads. Servers already running keep running until their last tab closes.
WorkspacesReusable workspace templates: a name, a project folder, a layout, and panes that run an agent, a command, or a shell, each with a name, a folder, and for an agent a prompt typed in for you to send. New templates start from Agent, server, shell, Two agents, or Blank; a template can be duplicated, deleted, or started with Launch.commands[].workspaceTemplates run through the same workspace launch path as paneflow up.
SpacesThe spaces that group workspaces, each on its own page with its name, image, color, agent accounts, environment variables, and a delete action. Up to 9 spaces.spaces; images go to avatars/ in the Paneflow homeNames, images, and colors hot-reload. An environment applies to terminals opened after the change.
WorktreesWorktree root with Use default, Remove old worktrees automatically with its Keep limit, the managed worktrees with a remove action, and the snapshots taken before a removal with restore and delete actions.worktrees.dir, worktrees.auto_remove, worktrees.keep_limitHot-reloads. The root applies to worktrees created from then on.
AgentsOne card per agent on your PATH with its version, update state, accounts, and launch presets; More agents for those not installed; a settings dialog per agent; and the Permissions card.*_button_visible, agent_profiles, agents.update_methods, claude_code_bypass_permissions, ai_unrestricted, ai_injection_fence; the Hooks switch writes the agent's own hook configHot-reloads. See Agents.
UsagePlan limits: one tile per Claude Code, Codex, and Grok account, with a refresh. Sidebar: which agents the sidebar gauge counts. Activity by agent: daily turns, tokens, and active time over the last year, with an import of past activity.usage.sidebar_agentsHot-reloads.

Interface style

Settings > Appearance offers Interface style at the top of the Interface card, and the command palette carries the same choice under Interface style. It chooses the layout and the corner language of the whole app and is stored in interface_style.

Styleinterface_styleWhat it draws
Classic (default)classicAn edge-to-edge window: the sidebar, the panes, and the Changes dock run to the window edges with thin lines between them, the tabs of the top panes and of the dock sit in the title bar beside the window controls, and the empty part of that row drags the window. Circular corners on a tight scale: 12 px for dialogs and toasts, 14 px for menus, 8 px for rows, buttons, and pane tabs, and 6 px for controls under 26 px tall. Comfortable density has no effect.
RoundedroundedThe look of Paneflow 0.19 and earlier: pane cards with continuous corners (squircles) and generous radii, floating under a full-width title bar. Comfortable density applies to this style only. The legacy value paneflow reads as Rounded.

In both styles, every menu and select popup is an 8 px panel with 28 px rows, 14 px labels, and 12 px shortcuts. The change applies at once to every open window. Paneflow opens in Classic from 0.20.0 on; to keep the floating pane cards, pick Rounded or set "interface_style": "rounded".

Background style

On Windows, macOS, and Linux, Settings > Appearance offers Background style under the interface style, and the command palette carries the same choice under Background style. It is stored in background_style. Up to 0.19 this setting was named Interface style.

StyleWhat it draws
Themed (default)The app in solid theme colors.
BlendedPaneflow asks the system to blur what lies behind the window and paints one theme veil over it. A window keeps the Themed colors in macOS fullscreen, while macOS's Reduce transparency is on, and on a Windows build without a system backdrop.

On Linux, Blended asks a Wayland compositor that offers ext-background-effect or KDE's blur to blur what lies behind the window. On X11, or under a compositor that offers neither, Paneflow logs one warning and paints a thicker veil over the unblurred desktop.

A config saved by an older release has no background_style key, so Paneflow reads the style from the legacy keys (window_backdrop and the per-platform material keys): a material key of the running platform set to true gives Blended, unless window_backdrop is opaque or off, or transparent on macOS. Picking a style in Settings or the command palette saves background_style and removes those keys.

Workspace icon

Settings > Appearance offers Workspace icon, and the command palette carries the same choice under Workspace icon. It chooses the glyph in front of each workspace in the sidebar and is stored in workspace_icon.

Iconworkspace_iconWhat it draws
DefaultdefaultPaneflow's outlined folder.
StandardstandardA disclosure chevron in place of the folder, right when the workspace is folded and down when it is open.
MetalmetalA filled glass folder in the text color.
WindowswindowsA yellow gradient folder.
Windows 95windows95The 16-color pixel folder.
PixelpixelAn outlined pixel folder.

Every style has a closed and an open glyph, and the two pixel styles are sharpest at a display scale of 100 % or 200 %.

App icon

Settings > Appearance offers App icon as the last row of the Interface card. It chooses the icon Paneflow shows for itself and is stored in app_icon. The row shows the current icon and its name; click it to unfold a gallery of every icon, and pick one to apply it at once.

Iconapp_iconWhat it draws
Glass (default)glassThe installed icon: three glass panes on a violet tile.
BlackblackThe Paneflow mark in off-white horizontal bars on a black tile.
WhitewhiteThe same bars in dark ink on a white tile.
Black solidblack-solidThe three panes as solid off-white shapes on a black tile.
White solidwhite-solidThe same solid panes in dark ink on a white tile.

Sixteen illustrated icons follow. Each one shows the same mark in another material.

Iconapp_iconWhat it draws
AubergineaubergineLilac panes on a deep aubergine tile.
PaperpaperPanes in aubergine ink on an off-white paper tile.
Midnight mattemidnight-matteDark gray panes on a matte black tile.
PolarpolarBlue and cyan panes on an ice-white tile.
MelonmelonCoral and orange panes on a cream tile.
HoneydewhoneydewDark green panes on a mint and lime tile.
BerryberryPlum panes on a violet and pink tile.
RainbowrainbowPanes in six retro stripes on a black tile.
SolarwavesolarwaveChrome sunset bands on a deep purple tile.
NeonneonCyan and pink neon outlines on a dark violet tile.
PhosphorphosphorGlowing green panes on a black screen tile.
HoloholoDark panes on an iridescent foil tile.
AmethystamethystLilac panes on a faceted violet gem.
BlueprintblueprintPale blue panes on a blueprint tile.
ChipchipBrushed metal panes on a chip, set in a green circuit board.
NostalgianostalgiaChrome-white panes on a glossy blue tile.
PlatformWhere the choice showsWhen
WindowsThe taskbar button, Alt+Tab, and the shortcuts in your profile that open this Paneflow: the one pinned to the taskbar, a desktop shortcut, the Start menu entry.Alt+Tab at once. The taskbar button at the next sign-in or restart of Windows Explorer. A shortcut keeps the icon while Paneflow is closed.
macOSThe Dock tile, running or not.At once while Paneflow runs. Once it quits, a Dock tile plug-in in the app bundle keeps drawing the chosen icon.
LinuxThe icon your desktop reads from Paneflow's desktop entry, in the dock, the app grid, and the window switcher, on Wayland and X11 alike. On X11 it is also the window icon.The desktop entry at once, and it stays while Paneflow is closed. The X11 window icon on windows opened after the change.

On Windows a pinned taskbar button shows the icon of its shortcut, not of the window, so Paneflow points that shortcut at an icon file it writes under icons/ in the Paneflow home, and checks it again at each launch. Windows caches the image of a taskbar button and reads the shortcut again only when it reloads the taskbar, so the button changes at the next sign-in, or once Windows Explorer restarts. Choosing Glass restores the shortcut's own icon.

The Start menu shortcut of a machine-wide install is not yours to modify. For any icon other than Glass, Paneflow copies it to the same place in your own Start menu folder, which Windows prefers, and gives that copy the icon; choosing Glass deletes the copy. If you uninstall Paneflow while another icon is selected, the copy stays behind: delete it from %APPDATA%\Microsoft\Windows\Start Menu\Programs.

On Linux, Paneflow writes the chosen icon as a PNG under icons/ in the Paneflow home. When you already have your own paneflow.desktop in ~/.local/share/applications (or $XDG_DATA_HOME/applications) that launches this Paneflow, its Icon= line is pointed at that file. Otherwise Paneflow copies the system entry there with the new icon, marked X-Paneflow-Mirror-Of. Choosing Glass deletes that copy, or puts your own entry back on the installed icon. An entry that is a symbolic link, or that launches another program, is left alone.

The macOS Dock tile plug-in and the Linux desktop entry are kept in sync by release builds only; a development build changes the icon of its running windows alone.

Terminal contrast

Paneflow raises the contrast of text a program colored itself when it lands too close to its background. Settings > Terminal exposes it as Minimum contrast, and the command palette carries the same values under Minimum contrast.

Row valueterminal.minimum_contrastEffect
Autokey absentAPCA Lc 60 on every theme, light and dark.
Off0No correction. Programs keep the colors they asked for.
45, 60, 75, 90that numberAn explicit APCA Lc target.

Values above 90 are capped at 90. Negative or invalid values fall back to Auto. A value typed in the file between two steps, such as 72.5, is used as is; the row shows the nearest step.

Only text colors a program chose are corrected: truecolor and palette indices 16 to 255. The theme's own sixteen ANSI colors, its foreground, and its background are left unchanged, and so are background colors, selected or search-highlighted text, text drawn in its own background color, and box-drawing, block, braille, and Powerline characters. The correction first adjusts lightness at full saturation, then retries with less and less saturation. If that would remove too much of the color, it moves toward the nearest theme color, and as a last resort to black or white.

Changes hot-reload in open terminals. To turn the correction off everywhere, set "minimum_contrast": 0 under terminal in paneflow.json.

Spaces

Spaces opens with Group workspaces by context, each with its own agent accounts and terminal environment. Before the first space exists, the page shows Keep your contexts apart with four starting points: Work, Personal, Client, and Custom.

Once a space exists, the page lists Default first. Default holds every workspace that has no space, reads Workspaces without a space or its workspace count, and cannot be renamed or deleted. One row per space follows, with its circle, its name, and a summary such as 2 workspaces · pro@example.com · 1 variable; a row also flags Hooks not added or its count of environment warnings. A New space row closes the list. Click a space to open its page; Back to all spaces returns to the list.

FieldWhat it does
NameClick the name to edit it, then press Enter to save or Escape to cancel; clicking elsewhere also saves. A name must be 1 to 32 characters, cannot be Default, and cannot repeat another space's name, ignoring case. An invalid name shows the reason under the field, and nothing is saved.
ImageClick the circle, labeled Add image or Change image, to pick a file; once an image is set, a Remove image button appears beside it. See Space image.
ColorNo color, or one of Red, Green, Yellow, Blue, Magenta, and Cyan. A space without an image draws its color in its circle, the same in every theme, and without a color an outline.
AccountsThe account each agent signs in with in this space, for Claude Code, Codex, and Grok. See Space accounts.
EnvironmentThe space's variables, secrets masked, and Add variable or Edit variables. See Space environment.

Delete space, at the bottom of a space's page, has a Delete button. It then asks Delete Work?, says Its 3 workspaces move to Default. or It has no workspaces, and offers Cancel and Delete space. Confirming moves the space's workspaces to Default without closing any terminal, makes Default active if the deleted space was, and removes the space's image.

New space adds Space N with the first free number and opens its name for editing, as do New space… in the sidebar's space menu and New space in the command palette. With 9 spaces the row reads Space limit reached and 9 spaces maximum.

Space image

An image replaces the color in the space's circle, in the sidebar header, the space menu, and Settings. Choose a PNG, JPEG, WebP, GIF, BMP, or TIFF file of at most 25 MB and 12,000 pixels on each side. Paneflow applies the photo's EXIF orientation, crops it to a centered square, and stores a 96 pixel PNG in avatars/ under the Paneflow home (~/.paneflow/avatars/, %USERPROFILE%\.paneflow\avatars\ on Windows). The file name is recorded as avatar on the space's entry in paneflow.json. An image that cannot be read or is too large shows the reason under the Image field, and the space keeps its previous circle. Replacing or removing an image deletes the previous file.

Space accounts

Each agent's menu offers Default, the other accounts Paneflow knows for that agent, the folder the space already sets when Paneflow does not list it (Folder set for this space), and Add account…, which creates a folder and signs in through the browser. Sign in appears when nobody is signed in to the chosen account. Picking an account sets CLAUDE_CONFIG_DIR, CODEX_HOME, or GROK_HOME in the space's environment; those three are managed here and do not appear in the variable editor.

When Paneflow's hooks are on for an agent but missing from the account a space uses, its line reads Paneflow's hooks are not in this account yet with Add hooks, and Retry after an error.

Space environment

Add variable or Edit variables opens one row per variable. The values are set on every terminal opened from then on in that space's workspaces. From lowest to highest precedence, a terminal's environment stacks terminal.env, the default accounts of agents.default_accounts, the space's variables, then an agent profile's env and a surface's own env. A leading ~ is your home, and $NAME takes the value from Paneflow's environment; the line under a row shows the expanded value. Point GH_CONFIG_DIR at a separate directory to use a second GitHub CLI account in that space. Account folders must be absolute paths; Paneflow creates a missing one, private to you on Linux and macOS, before the first terminal starts, and a toast names the directory if it cannot. Two accounts stay apart only as long as each CLI honors its directory variable, and GH_CONFIG_DIR does not isolate anything while GH_TOKEN or GITHUB_TOKEN is set.

Save refuses, with the reason under the row or the form, a value without a name, a name listed twice, a name that is not a variable name, a PANEFLOW_ name, a variable Paneflow sets for every terminal such as TERM, a variable that changes how programs load or run agents such as LD_PRELOAD or an agent session marker such as CLAUDECODE, a relative path for an account folder, and a $NAME that names a variable Paneflow's environment does not set. On Windows, terminals receive the names upper-cased, while paneflow.json keeps the case you typed. A variable whose name contains KEY, TOKEN, SECRET, or PASSWORD shows Stored in plain text in paneflow.json; prefer a config directory.

When a space sets an account folder (CLAUDE_CONFIG_DIR, CODEX_HOME, or GH_CONFIG_DIR) while Paneflow's own environment sets a token that wins over it (ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, or CLAUDE_CODE_OAUTH_TOKEN for Claude Code, OPENAI_API_KEY for Codex, GH_TOKEN or GITHUB_TOKEN for the GitHub CLI), a warning says the tool uses that variable instead of the space's account. Turn off X here sets the variable to an empty value in that space: new panes no longer see it, and open panes keep it.

Open terminals keep the environment they started with: moving a workspace to a space with a different environment says Open terminals keep their previous environment, and nothing restarts. A shell that exports the same variable from its rc file, for example .zshrc, overrides the space's value inside that terminal.

When a space moves CLAUDE_CONFIG_DIR or CODEX_HOME away from the default, saving it installs Paneflow's hooks and the conductor skill in that directory for each agent whose hooks are on in Settings > Agents, so the sidebar still shows when the agent works and waits. Each launch of a release build refreshes them, once per distinct pair of Claude Code and Codex directories.

Deleting a space leaves its hooks in place. To remove them, delete the entries marked "_paneflow_managed": true from settings.json in the space's CLAUDE_CONFIG_DIR (its hooks and its statusLine) and its skills/paneflow-conductor/SKILL.md; for Codex, delete the same entries from hooks.json in its CODEX_HOME. The space's records live under ~/.paneflow/integrations/spaces/<space id>/ and can be deleted too.

A space organizes work; it is not a security boundary. Every terminal still runs as you, and a value in paneflow.json is readable by anything that can read your home directory.

MCP entries from older versions

Paneflow 0.20 and earlier wrote a paneflow MCP server into your agents' configs. Each launch of a release build removes every entry Paneflow wrote: the keys paneflow, paneflow-dev, and paneflow-mcp whose command is the old paneflow-mcp helper, in your default agent directories, in each configured account, and in each space's CLAUDE_CONFIG_DIR and CODEX_HOME. It also deletes the helper from ~/.paneflow/bin. An entry under one of those names that points at another program is yours and stays.

To remove them by hand, run paneflow mcp uninstall. It cleans the files in your default directories only, not those of spaces or accounts, and prints one line per entry it removed, naming the agent, the key, and the file, or no Paneflow MCP entry found. You can also delete them yourself: mcpServers.paneflow in ~/.claude.json, [mcp_servers.paneflow] in ~/.codex/config.toml, mcpServers.paneflow in ~/.gemini/settings.json, mcp.paneflow in your OpenCode config, and mcp.paneflow in ~/.fx/mcp.json.

Agents

The Agents page lists The coding agents on your PATH, their accounts and launch presets. Each installed agent gets a card:

  • The head shows the agent's version and update state, such as v2.1.0 · Up to date or a newer version available, an Update button when a newer version exists and Paneflow can install it, a settings button, and Show <agent> in the agent picker, stored in *_button_visible.
  • Claude Code, Codex, and Grok list their accounts, the one in use marked In use, with Sign in where needed and Add account, which creates a folder such as ~/.claude-<name> and saves it as a launch preset in agent_profiles.
  • The agent's other launch presets follow.

More agents lists the supported agents that are not on your PATH, and Other launch presets the presets whose agent is not installed or that Paneflow cannot read.

The settings dialog of an agent holds its Updates, with Update with (stored in agents.update_methods), the update command and the binary's location to copy; its Launch presets, each a named way to start the agent with its own variables and arguments; and, for Claude Code and Codex, the Hooks switch.

AI access

The Permissions card of the Agents page controls how Paneflow launches Claude Code and how much automation an agent can perform on other panes.

RowKeyWhat it does
Full access for Claude Codeclaude_code_bypass_permissionsLaunches Claude Code with --permission-mode bypassPermissions, from the picker, presets, and resumed sessions. It edits any file and runs networked commands without asking. It does not change Codex, OpenCode, Gemini, or any other agent.
AI free accessai_unrestrictedLets an agent auto-submit prompts to your other panes, without the PANEFLOW_IPC_SCRIPTING gate.
Injection fenceai_injection_fenceShown while AI free access is on, and on by default. It marks the output of other panes as untrusted when an agent reads or searches it. Turned off, the card warns A malicious pane can silently redirect your agent.

The Hooks switch is separate. It lets Paneflow follow the agent's status and resume its conversations, and installs the paneflow-conductor skill where the agent reads skills (skills/ in the Claude Code config directory, ~/.agents/skills for Codex). The skill teaches the agent to drive Paneflow through the CLI: list, read, and search panes, send and write to them, ask other agents, run actions and flows, and describe the API. Turning the switch on or off also removes the old MCP entries described above. It touches the agents' own config files and can be run again safely: the skill is rewritten only when it changed, and a copy you edited is kept.

Config-only controls

Use paneflow.json when you need a setting that is intentionally not in the primary Settings UI.

Common examples:

  • terminal.scrollback_lines for per-terminal scrollback history.
  • terminal.ligatures, terminal.cursor_blink, terminal.env, terminal.scroll_multiplier, terminal.osc52_clipboard, terminal.open_links_in, and font_fallbacks for advanced terminal behavior. Every Paneflow build emulates its panes with one pinned, statically linked libghostty-vt engine, so there is no engine to select.
  • commands[] entries that are not workspace templates, and the env of a template's panes.
  • agents.restore_conversations, agents.claude_preassign_session_id, agents.default_accounts, and the per-agent blocks under agents.
  • worktrees.for_new_branches, and usage.plan_limits and sidebar_show.usage for the sidebar gauge.
  • Telemetry and window-decoration options.

Paneflow reloads valid config changes through its watcher. If the JSON is malformed, fails validation, or cannot be read, the running app keeps the previous valid config instead of falling back to defaults. The JSON Schema flags unknown keys in editors; the runtime stays lenient so older builds can ignore newer keys. One exception: a language_servers entry with an unknown key is skipped as a whole, with a warning in the log.

See also