From 27f730a80f70ca3d09475bea54338d8fe9ca8954 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 3 Aug 2014 17:41:01 +0200 Subject: more on tray-update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/protocols | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/protocols b/doc/protocols index aa1c76c..a4147cd 100644 --- a/doc/protocols +++ b/doc/protocols @@ -286,6 +286,7 @@ Required header: Socket Conditionally required header: Max colour Required if: `Colour`-header is used + Required if: `Foreground`-header is used Required if: `Alpha`-header is used The maximum colour component value, for example, if using 24-bit colour, which component will be 8-bit and the maximum value will @@ -307,8 +308,12 @@ Conditionally required header: Bytes subpixel has 8 bits, 48-bit colours will have this set to 2 because each subpixel has 16 bits -Conditionally optional header: Colour - Available and option if: `Length`-header is not used +Conditionally optional/required header: Colour + Available and optional if: `Length`-header is not used + Required if: `Foreground`-header but not `Length`-header is used + Single blank space-separated [0, ] sRGB 3-tuple + +Conditionally optional header: Foreground Single blank space-separated [0, ] sRGB 3-tuple Optional header: Alpha @@ -317,6 +322,10 @@ Optional header: Alpha Optional header: Length Length of the message +Optional header: Use urgency + yes) The icon tray may blink + no) The icon tray may not blink + Message: Raw binary encoding of the background image, bytes are orders: row, pixel, channel (red, green, blue, then optionally alpha), subpixel value (most -- cgit v1.2.3-70-g09d2