Skip to content

Add ignore-replace and ignore-close options - #627

Open
pakhromov wants to merge 3 commits into
emersion:masterfrom
pakhromov:ignore-replace
Open

Add ignore-replace and ignore-close options#627
pakhromov wants to merge 3 commits into
emersion:masterfrom
pakhromov:ignore-replace

Conversation

@pakhromov

@pakhromov pakhromov commented Feb 11, 2026

Copy link
Copy Markdown

config: add ignore-replace and ignore-close options
Adds ignore-replace and ignore-close options to ignore applications request to replace or close their old notifications, similarly to how ignore-timeout ignores the timeout sent by applications. Useful for apps like discord that always replace older messages with new ones, making it possible to see only the latest one (this is not a bug on discord side, just intended behavior which users may want to overwrite/ignore the same way ignore-timeout allows it). Per-criteria overrides also work.

Closes #561

@pakhromov
pakhromov force-pushed the ignore-replace branch 2 times, most recently from e993c98 to 4941c8c Compare April 21, 2026 13:41
pakhromov and others added 2 commits May 24, 2026 02:52
ignore-replace now only blocks replacement via replaces_id and tags.
ignore-close blocks apps from dismissing notifications via
CloseNotification D-Bus call. A fake NotificationClosed signal is
emitted exactly like dunst does it for its ignore_dbusclose option.

Closes emersion#561
@pakhromov pakhromov changed the title Add ignore-replace style option Add ignore-replace and ignore-close options Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable apps from dismissing their own notifications

1 participant