From f0808f8d3f2e625627b8092d6932c7588eb68e6a Mon Sep 17 00:00:00 2001 From: Nikos Tsipinakis Date: Sun, 5 Feb 2017 11:57:56 +0200 Subject: [PATCH] Fix alignment setting documentation `alignment` specifies the alignment of the text within the notifications, not the alignment of the notifications themselves. --- docs/dunst.pod | 2 +- src/settings.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dunst.pod b/docs/dunst.pod index 75fba74..66e0f0c 100644 --- a/docs/dunst.pod +++ b/docs/dunst.pod @@ -111,7 +111,7 @@ Shortcut for context menu. =item B<-alignment position> -Defines the align position of notifications to left/center/right. +Defines how text should be aligned, can be set to left/center/right. =item B<-icon_position position> diff --git a/src/settings.c b/src/settings.c index 34994ab..1b5432a 100644 --- a/src/settings.c +++ b/src/settings.c @@ -214,7 +214,7 @@ void load_settings(char *cmdline_config_path) char *c = option_get_string( "global", "alignment", "-align/-alignment", "", - "Align notifications left/center/right" + "Text alignment left/center/right" ); if (strlen(c) > 0) {