Repository navigation
Choosing modules
The bar's modules, left to right, are one list in bar.toml. With no modules key you get every
module except keyboard. This page shows a short list for a modest machine and the default list
with keyboard added.
# ~/.config/alpheus/bar.toml
# A short bar: workspaces, the focused window, sound, network, battery,
# the tray, notifications and the clock. The launcher still opens from your key.
modules = [
"workspaces",
"window",
"volume",
"network",
"battery",
"tray",
"notifications",
"clock",
]The list is the whole bar: a module you do not name is gone, and so is the daemon feature behind
it. osd, quick and displays draw nothing in the bar but are features with their own surface,
so leaving them out turns them off. launcher is only the button: without it the launcher box
still opens from your compositor key. A module with nothing to show (privacy, shield, failed,
media while idle) draws nothing even when listed.
keyboard is opt-in: the default list leaves it out, and a list of your own adds it. Name every
other module you want as well.
# ~/.config/alpheus/bar.toml
# The default modules, plus the keyboard layout next to the window title.
modules = [
"launcher",
"workspaces",
"window",
"keyboard",
"media",
"privacy",
"shield",
"failed",
"volume",
"network",
"bluetooth",
"battery",
"resources",
"tray",
"notifications",
"osd",
"quick",
"displays",
"timer",
"clock",
"power",
]A list of your own does not follow later releases: when alpheus adds a module, it appears only in the default list, so add it to yours by hand.
bar.toml is read once: restart alpheus-demon (see Getting started).
An unknown module name, or the same module twice, makes the whole file invalid: the bar starts with its defaults and the daemon prints a warning (for an unknown name it lists the valid ones). On a narrow screen secondary modules disappear first; workspaces and the clock stay.
Reference: bar.toml, top level.