kittymux

Customization

Choose which pieces of kittymux you use, set colours, layout and behaviour with switches and environment variables, and add your own agents.

kittymux is built so you can use all of it, some of it or none. Most settings are a switch you can flip from a shell or an environment variable, never a file you must hand-edit.

How a setting is decided

For anything with a switch, the first of these wins:

  1. An environment variable, such as KITTYMUX_HUE=off.
  2. A flag file in the state directory, such as ~/.local/state/kittymux/hue-off.
  3. The default.

The state directory is $KITTYMUX_STATE if set, otherwise ${XDG_STATE_HOME}/kittymux, which is ~/.local/state/kittymux by default. Its mode is 0700 and the files in it are 0600.

Settings in one place

kittymux settings                      # every setting, what it does, and why it is on or off
kittymux settings off bell
kittymux settings on usage-live --yes  # asks for --yes: it talks to the providers with your own login
kittymux settings reset all            # back to the defaults (an environment variable is not touched)

In the panel (ctrl+alt+shift+b, or the deck on ctrl+alt+b), press s or click the gear pill. space turns the picked setting on or off, p cycles the presets, r puts the row back to its default (R the whole group), ? lists the keys. A setting held by an environment variable shows env and is locked: kittymux never edits your shell. A setting that is risky to turn on asks first and says what will change; esc cancels. A burst of changes is one reload of your running kitties.

Choose the pieces of the bar

kittymux features                  # what is on, and where each setting comes from
kittymux features off hue
kittymux features on folder
kittymux features preset minimal   # minimal, default or full
kittymux features -h               # help

folder, hue, collide, panetitle, motion, titles, ring, sudo, loginprompt, pkgprompt and socketlink are live (the last three are notifications for a terminal waiting on you: see Notifications and the inbox). sheet and hover are planned: the switch is saved and the command says so, but nothing reads it yet. See The tab bar.

kittymux settings on pxbar draws the vertical tab bar itself as a picture: tabs grouped under their project, the real marks of agents and programs, a lift under the pointer with a close cross at the row's end, and a click on a folded group's label to open it. The header has search (the command palette) and a button that folds the bar to the rail; on the rail, the top tile opens it again. The footer is the keyboard's way in: a Filter field that opens the palette and shows its chord, then the inbox of what needs you, usage, and the keys sheet, each running exactly what its key runs. When the tabs don't all fit, the bar scrolls to keep the one you are in on screen and says how many are above and below; click either line to page. With background_opacity below 1 the bar is glass, a little denser than the terminal, and the terminal rests on it as a card with rounded corners. It needs cairo, pango and rsvg, and for the hover, the cross and the card kitty's custom shaders (kitty 0.49 or newer with slangc installed); without them there is no cross to click. It replaces your own background_image while it is on and gives it back when you turn it off. kittymux settings off pxbar puts the cell bar back.

kittymux settings on deckpx draws the panel's Agents list in pixels. It is off by default, and KITTYMUX_DECKPX=1 turns it on the same way. The other panel views stay cells. While a docked panel runs in pixels, the tab bar of the kitty it watches is hidden, since the panel already lists every tab. It stays hidden in the panel's other views and comes back when the panel closes. kittymux settings off pxcover (or KITTYMUX_PXCOVER=0) keeps the bar. The panel says what you see.

Layout

kittymux layout changes the bar of one kitty instance on the fly. See The tab bar. kittymux layout default pins the current layout as the start for new windows.

Colours

Every colour comes from your live kitty theme. To pin the accent, set KITTYMUX_ACCENT=#rrggbb. The default is your theme's active_border_color.

Switches and variables

VariableFlag file in the state directoryEffect
KITTYMUX_NOTIFY=0notify-offNo desktop notifications.
KITTYMUX_NOTIFY_DONE=0notify-done-offNo "finished" notifications.
KITTYMUX_BELL=0bell-offNo window manager urgency request.
KITTYMUX_NOTIFY_PRIVATE=1notify-privateNotifications say "agent needs you" and nothing from your screen.
KITTYMUX_ATTENTION=1attention-onKeep window attention requests on even where they would move focus.
KITTYMUX_RESUME=autoresume-autoA restored agent resumes without asking.
KITTYMUX_AUTOSAVE=0autosave-offNo automatic session saves.
KITTYMUX_JOURNAL=0journal-offDo not record agent sessions.
KITTYMUX_CHANGES=0changes-offDo not track what agents changed.
KITTYMUX_SETTLE_DAYS=NDays before a closed conversation settles, 1 to 365. The default is 3.
KITTYMUX_FOLDER, _HUE, _COLLIDE, _PANETITLE, _MOTION, _TITLES<name>-off, <name>-onThe bar features above.
KITTYMUX_ACCENT=#rrggbbPin the accent colour.
KITTYMUX_ROFI_THEME=userLeave your own rofi theme in charge of pick.
KITTYMUX_PROJECTSThe root the project picker lists.
KITTYMUX_PXCOVER=0pxcover-offKeep the tab bar while the pixel Agents panel shows.
KITTYMUX_USAGE_LIVE=1usage-live-onLet usage collectors fetch live quotas over the network. Only an explicit yes turns it on (1, on, true, yes).
KITTYMUX_DEBUG=1Log bar drag errors to barsize-debug.log.
KITTYMUX_STATEUse another state directory.

Optional looks

These need kitty 0.49.2 or later, and are never written to an older kitty's configuration.

  • Clickable file:line. On by default when your kitty supports it. install.sh links open-actions.conf only if you have none; otherwise it prints the two lines to add.
  • Rounded, shadowed bar cards. kittymux cards on (or off, toggle, show) runs kittymux's own shader over the tab bar only: the active card gets anti-aliased corners, a top sheen and a soft shadow, and it glows briefly when you change tab. The row under the pointer lifts by a quieter step of the same colour, and a progress fill, the waiting tint and an error fill round at the card's outer corners. kittymux cards glass on lets the bar's own pixels go translucent so a compositor can blur behind the window; text and the cards stay opaque, and kitty's background_opacity has to be below 1. It reads your theme's colours, needs shader-slang, and works with kittymux dim on at the same time. Cards need only kitty 0.49.0.
  • Dim the inactive pane. kittymux dim on, off, toggle or show. It is off by default and needs the shader-slang package, because kitty compiles shaders with slangc. Without it, the command says so instead of failing on every reload.
  • Screenshot. kittymux screenshot [--tab|--window] [FILE] writes a PNG that kitty renders itself, by default to ~/Pictures/kittymux-<time>.png with mode 0600, because it can show anything that was on screen.

Usage HUD

Press ctrl+alt+u for local numbers per provider. Each provider is one file in python/collectors/, found automatically. Codex reads its rollout rate-limit snapshots, Claude shows a reconstructed five-hour window and weekly burn, Cursor shows its plan and share of AI lines, and Devin shows session and token activity. Real local numbers or "unavailable", never made-up ones. The overlay paints at once with placeholders, then each provider fills in as it finishes.

The local five-hour Claude bar is elapsed time, not quota consumed. Daily token charts use exact, dated Claude log counters, and old rolling-week totals are left out rather than relabelled as daily burn. Devin's local activity is the cumulative total for sessions modified today, so it is not recorded in the daily chart.

With KITTYMUX_USAGE_LIVE=1, collectors that offer a live call also fetch real quotas, cached for at least five minutes: Claude through its OAuth usage endpoint, Cursor through its dashboard service and Devin through its seat management service. The network is strictly opt-in, and everything works offline. A failed request backs off for five minutes while the previous rows stay visible with a stale note. Credentials are sent through curl's standard input, never its arguments.

To add a provider, drop a file in python/collectors/ with two functions: collect() for pure local reads that spawn nothing, and optionally live(cached) for the network call. A broken collector can never take down the HUD.

Agents you add

Resume and prompt forms are data, not code. See Add an agent for resume, and Launch and find agents for fan-out prompts.

On this page