Skip to content

Notifications

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

Notifications

alpheus shows notifications as bubbles from the bar's daemon. This page covers two things: telling it what to do with a given app, and do not disturb.

Mute or drop an app

# ~/.config/alpheus/bar.toml
# Silence a chat app's bubbles but keep them in the panel, and ignore a noisy updater.
[[notifications.rules]]
app = "discord"
action = "mute"

[[notifications.rules]]
app = "Software Updater"
action = "drop"

A rule names an app and what to do with it. mute shows no bubble, but keeps the notification in the panel and counts it unread. drop ignores it entirely: nothing is shown or stored. A rule can also set urgency ("low", "normal" or "critical") to replace the one the app sent, but not together with drop; a rule needs action, urgency or both.

  • app is the app's whole name, in any case: firefox does not match firefox-esr. It is also compared with the app's desktop entry, when the app sends one.
  • Rules are tried in order and the first match wins; later rules for the same app are not read.
  • There can be at most 32 rules. A 33rd makes the whole bar.toml invalid.

Do not disturb

# ~/.config/alpheus/bar.toml
# Do not disturb while a screen capture runs, and 22:00 as the panel's "Until" entry.
[notifications]
dnd_while_sharing = true

[quick]
dnd_until = "22:00"

With dnd_while_sharing, a screen capture turns do not disturb on and its end turns it off, unless you changed it yourself in between. It needs privacy and notifications in modules (both are in the default list). The [quick] key is the time the quick panel offers in its "Until" entry.

Do not disturb itself is toggled from the Do not disturb row of the bell's panel, the quick panel, or alpheus-launch --dnd on|off|toggle (--dnd on --for 30m or --dnd on --until 22:30 times it).

Applying it

bar.toml is read once: restart alpheus-demon (see Getting started).

If it does not work

A typo in a key, a rule with neither action nor urgency, an empty app or a drop with an urgency discards the whole file, with a warning in the daemon's standard error. The bubble's timeout, width and the number of bubbles shown at once are in the same section of the reference.

Reference: [notifications].

Clone this wiki locally