Repository navigation
Theme
theme.toml sets the colours, light or dark, and the look of the bar. It is optional: without it
you get the catppuccin preset (or wallpaper when a colors.toml exists in the configuration
folder). Every key is optional.
# ~/.config/alpheus/theme.toml
# A preset instead of the default, with each module's icon and text in its hue.
theme = "gruvbox"
module_colors = "full"Fifteen presets ship, among them catppuccin, gruvbox, tokyo-night, nord, dracula and
solarized; the full list is in the reference. An unknown name falls back to catppuccin, with a
warning.
# ~/.config/alpheus/theme.toml
# Colours from colors.toml (and colors-light.toml), written by your wallpaper tool,
# with one role pinned to a fixed colour.
theme = "wallpaper"
[colors]
error = "#e06c75"theme = "wallpaper" reads colors.toml (dark) and colors-light.toml (light) from the
configuration folder; if only the dark file exists, light mode uses it too. Those files are written
by a tool such as matugen from templates that belong to that tool, so they are not copied here: the
template for alpheus's 16 colour roles is in
Wallpaper colours (matugen).
[colors] overrides one role whatever the theme and mode.
# ~/.config/alpheus/theme.toml
# Always the light variant of the preset, whatever the desktop says.
theme = "solarized"
mode = "light"mode is "auto" by default, which follows the desktop's colour-scheme setting. A preset with no
light variant (nord, dracula, phosphor) stays dark in light mode.
# ~/.config/alpheus/theme.toml
# The ghost style: an accent outline and a veil. opacity sets how much of the bar shows through.
style = "ghost"
opacity = 0.6opacity (0.3 to 1.0, 0.8 by default) only matters for the ghost style. There are 23 styles in
all (flat by default); each is described in
Bar styles.
Nothing to restart: theme.toml is watched and the bar and the other surfaces change when you
save. The Theme tab of the control center edits the same keys, except opacity. One exception: if the configuration
folder is itself a symlink (home-manager), replacing the link is not seen until the bar restarts.
theme.toml is lenient: an unknown key, an unknown preset or a value of the wrong kind is ignored
with one warning (in the daemon's standard error) and the rest applies. Only a file that is not
valid TOML at all falls back entirely to the defaults.
Reference: theme.toml.