Skip to content

Plugging in your tools

github-actions[bot] edited this page Dec 5, 2026 · 1 revision

Plugging in your tools

Several clicks in the bar and the quick panel launch a program. Each one has a setting, so you can put your own terminal, mixer or network tool in its place. Programs are given as a list, one item per argument. A command is an argument list run as written. There is no shell: no ~, no $VAR, no pipes. When you want a shell, say so: ["sh", "-c", "your command | here"].

Open the control center in your terminal

# ~/.config/alpheus/bar.toml
# Open the control center in your own terminal, on the tab the click asked for.
[actions]
open_tab = ["foot", "--app-id", "alpheus-tui", "-e", "alpheus", "--tab", "{tab}"]

A click on volume, network, Bluetooth, battery or the failed-units count runs this command, with {tab} replaced by the tab to show (sound, network, bluetooth, home or diagnostics). Left empty, which is the default, alpheus asks its own managed terminal window instead. When the quick panel is on, a left click on volume, network or Bluetooth opens the panel and this command runs on the right click.

The quick panel's links

# ~/.config/alpheus/bar.toml
# What the "More..." and "Mixer..." rows of the quick panel run.
[quick]
wifi_more = ["foot", "-e", "nmtui"]
vpn_more = ["foot", "-e", "nmtui-edit"]
mixer = ["foot", "-e", "wiremix"]

Left out, these rows open the matching tool in the managed window. Set to [], a row is hidden. The same section holds the lock, logout, reboot and power-off commands, which are listed in the reference.

Bind a button of a module

# ~/.config/alpheus/bar.toml
# On the volume module: middle click mutes, right click opens a mixer.
[bindings.volume]
middle = "mute"
right = ["foot", "-e", "wiremix"]

A [bindings.<module>] table binds left, middle, right, wheel_up and wheel_down. A value is either a command or a verb ("none", "popup", "quick", "open_tab", "launcher", "dnd", "mute"); a button you leave out keeps its usual behaviour. Here [] is not a way to hide anything: it is an error, and "none" is how you silence a button.

The control center's own tools

# ~/.config/alpheus/config.toml
# The programs the control center opens in its own window.
[commands]
mixer = ["pulsemixer"]
network = ["nmtui"]
connections = ["nmtui-edit"]

These are opened inside the control center's window, so they must be terminal programs.

Applying it

The bar.toml examples are read once: restart alpheus-demon (see Getting started). config.toml is read when the control center starts, so close it and open it again.

If it does not work

bar.toml and config.toml reject unknown keys, so one typo discards the file; the warning is in the daemon's standard error for bar.toml and on the control center's status line for config.toml. A binding with a blank program, more than 16 items, or a sleep command (suspend, systemctl sleep and the like) also discards the whole bar.toml, with a warning naming the key. Otherwise alpheus runs exactly what you wrote.

Reference: [actions], [bindings.<module>], [quick], config.toml.

Clone this wiki locally