carbonian.org / manual pages
CARBONIAN-PALETTE(1) Carbonian Manual CARBONIAN-PALETTE(1)

carbonian-palette - the colours of the whole system, from one palette

carbonian-palette [list|current]
carbonian-palette set NAME
carbonian-palette apply [--quiet]

A palette is a TOML file (see carbonian-palettes(5)). carbonian-palette makes every colour file the system uses from the chosen one, in /var/lib/carbonian/palette: the console (vtrgb, also the boot splash), the compositor and the login screen, the lock (swaylock), foot, tmux, btop, vim and neovim, the GTK theme. What runs is refreshed at once: the consoles, every terminal on a tmux session, the compositor. Programs that read their colours at start (btop, GTK applications) take them the next time they start.

(the default) The palettes, the one in use marked with a star, with their labels.
The name of the one in use.
Use NAME everywhere. As root it writes /etc/carbonian/palette and applies it. Anyone at the seat can run it: it starts carbonian-palette@NAME.service (which polkit allows).
Make the files from the chosen palette again and refresh what runs. Needs root; the package scripts call it after an upgrade. --quiet silences it.

For programs that cannot follow the palette by themselves, every executable file in /etc/carbonian/palette.d and in ~/.config/carbonian/palette.d (a user's file of the same name wins) is run after the palette is applied. They run in name order, as each user who has a session, in the background and 30 seconds at most each; a failure is ignored. The palette's name is the first argument and CARBONIAN_PALETTE. The package ships 40-firefox (it links the palette's userChrome.css into each Firefox profile; Firefox reads it at start). An example for VS Code is vscode/palette-hook.sh in the carbonian repository.

Chromium is not a hook: carbonian-palette writes its managed policy /etc/chromium/policies/managed/carbonian.json itself, and a running browser changes at once.

/usr/share/carbonian/palettes/*.toml
/etc/carbonian/palettes/*.toml
The palettes; yours go in /etc.
/etc/carbonian/palette
The choice: one line, the name. The default is oliva.
/var/lib/carbonian/palette/
The generated files. Do not edit them.

0 on success; 2 for an unknown command; 1 for an unknown palette name, with a message.

carbonian-palette list
carbonian-palette set grey

carbonian-palettes(5), carbonian-ctl(1), carbonian(7)

October 2026 Carbonian