emersion / emersion/mako

do-not-disturb/dnd/invisible mode is still disturbing

Open
#536 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.3k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

Having read #468, this issue is unfortunately still the case for me.
My mode is named `dnd`, and is not listed when I `makoctl mode` (it just returns `default`).

My config gets read, because if I change `anchor` and `makoctl reload`, the change is respected.
This happens on v1.9.0.

---

What I would like to happen when toggling this mode on, is to hide all existing notifications, not to display any new ones, and show all previous (in addititon to any that arrived while the mode was active) not-yet-dismissed notifications when I turn it off again.

---

Below is my config, what am I doing wrong?

My ~/.config/mako/config:

```
max-visible=5
sort=-time
output=DP-2
layer=top
anchor=bottom-right

font=monospace 10
background-color=#285577FF
text-color=#FFFFFFFF
width=300
height=100
margin=10
padding=5
border-size=1
border-color=#4C7899FF
border-radius=0
progress-color=over #5588AAFF
icons=true
max-icon-size=48

markup=true
actions=true
format=%s\n%b
default-timeout=0
ignore-timeout=false

[mode=dnd]
invisible=1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.