From e665eea97ef536430966457fbe0414c6ec4e759b Mon Sep 17 00:00:00 2001 From: chronus Date: Sun, 26 Jan 2020 11:44:31 +0100 Subject: [PATCH] adding `content_alignment` to config and documentation --- docs/dunst.pod | 5 +++++ dunstrc | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/docs/dunst.pod b/docs/dunst.pod index 4c25b2c..ab8e769 100644 --- a/docs/dunst.pod +++ b/docs/dunst.pod @@ -337,6 +337,11 @@ removed from the format. Defines how the text should be aligned within the notification. +=item B (values: [top/center/bottom], default: center) + +Defines how the text and icon should be aligned vertically within the +notification. If icons are disabled, this option has no effect. + =item B (default: -1) Show age of message if message is older than this time. diff --git a/dunstrc b/dunstrc index c9b149e..6175537 100644 --- a/dunstrc +++ b/dunstrc @@ -132,6 +132,10 @@ # Possible values are "left", "center" and "right". alignment = left + # Vertical alignment of message text and icon. + # Possible values are "top", "center" and "bottom". + content_alignment = center + # Show age of message if message is older than show_age_threshold # seconds. # Set to -1 to disable.