From 87b57ce838ac0d2efea4dc46ed872b3ec023391e Mon Sep 17 00:00:00 2001 From: Arvedui Date: Sun, 22 Feb 2015 14:14:58 +0100 Subject: [PATCH] some clarification in docs about the truncation order --- i3pystatus/mpd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3pystatus/mpd.py b/i3pystatus/mpd.py index f5db1e0..baa524b 100644 --- a/i3pystatus/mpd.py +++ b/i3pystatus/mpd.py @@ -35,8 +35,8 @@ class MPD(IntervalModule): ("format", "formatp string"), ("status", "Dictionary mapping pause, play and stop to output"), ("color", "The color of the text"), - ("max_field_len", "Defines max length for in truncate_fields defined fields, if truncated, ellipsis are appended as indicator. Value of 0 disables this."), - ("max_len", "Defines max length for the hole string, if exceeding fields specefied in truncate_fields are truncated equaly. If truncated, ellipsis are appended as indicator. Value of 0 disables this."), + ("max_field_len", "Defines max length for in truncate_fields defined fields, if truncated, ellipsis are appended as indicator. It's applied *before* max_len. Value of 0 disables this."), + ("max_len", "Defines max length for the hole string, if exceeding fields specefied in truncate_fields are truncated equaly. If truncated, ellipsis are appended as indicator. It's applied *after* max_field_len. Value of 0 disables this."), ("truncate_fields", "fields that will be truncated if exceeding max_field_len or max_len, whatever catches first takes effect"), )