From 7796f7f848d259e849e9ee582816aa3fc4fcbd9f Mon Sep 17 00:00:00 2001 From: matclab Date: Sun, 12 Jul 2020 12:50:37 +0200 Subject: [PATCH] ignore_dbusclose: Add dunstrc example and man page section --- docs/dunst.pod | 7 +++++++ dunstrc | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/docs/dunst.pod b/docs/dunst.pod index 44a71ee..9f9dd86 100644 --- a/docs/dunst.pod +++ b/docs/dunst.pod @@ -515,6 +515,13 @@ Close all notifications. =back + +=item B (default: false) + +Ignore the dbus closeNotification message. This is useful to enforce the timeout +set by dunst configuration. Without this parameter, an application may close +the notification sent before the user defined timeout. + =back =head2 Shortcut section B diff --git a/dunstrc b/dunstrc index e9c8715..331347e 100644 --- a/dunstrc +++ b/dunstrc @@ -224,6 +224,12 @@ # notification height to avoid clipping text and/or icons. corner_radius = 0 + # Ignore the dbus closeNotification message. + # Useful to enforce the timeout set by dunst configuration. Without this + # parameter, an application may close the notification sent before the + # user defined timeout. + ignore_dbusclose = false + ### Legacy # Use the Xinerama extension instead of RandR for multi-monitor support.