From c4a0ec414050920d47a2638bea7ae6c723051c49 Mon Sep 17 00:00:00 2001 From: o9000 Date: Fri, 10 Nov 2017 13:37:41 +0100 Subject: [PATCH] Executor: update tooltip documentation (fixes issue #676) --- doc/manual.html | 2 +- doc/tint2.1 | 2 +- doc/tint2.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/manual.html b/doc/manual.html index 3b52eac..cf25ff7 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -601,7 +601,7 @@ panel_size = 94% 30
  • execp_cache_icon = boolean (0 or 1) : If execp_cache_icon = 0, the image is reloaded each time the command is executed (useful if the image file is changed on disk by the program executed by execp_command). (since 0.12.4)

  • execp_icon_w = integer : You can use execp_icon_w and execp_icon_h to resize the image. If one of them is zero/missing, the image is rescaled proportionally. If both of them are zero/missing, the image is not rescaled. (since 0.12.4)

  • execp_icon_h = integer : See execp_icon_w. (since 0.12.4)

  • -
  • execp_tooltip = text : The tooltip. Leave it empty to not display a tooltip. Not specifying this option leads to showing an automatically generated tooltip with information about when the command was last executed. (since 0.12.4)

  • +
  • execp_tooltip = text : The tooltip. If left empty, no tooltip is displayed. If missing, the standard error of the command is shown as a tooltip (an ANSI clear screen sequence can reset the contents, bash: printf '\e[2J', C: printf("\x1b[2J");). If the standard error is empty, the tooltip will show information about the time when the command was last executed. (since 0.12.4)

  • execp_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] : The font used to draw the text. (since 0.12.4)

  • execp_font_color = color opacity : The font color. (since 0.12.4)

  • execp_markup = boolean (0 or 1) : If non-zero, the output of the command is treated as Pango markup, which allows rich text formatting. The format is documented here. Note that using this with commands that print data downloaded from the Internet is a possible security risk. (since 0.12.4)

  • diff --git a/doc/tint2.1 b/doc/tint2.1 index 4fa82b8..7ab5982 100644 --- a/doc/tint2.1 +++ b/doc/tint2.1 @@ -716,7 +716,7 @@ To hide the clock, comment \fB\fCtime1_format\fR and \fB\fCtime2_format\fR\&. .IP \(bu 2 \fB\fCexecp_icon_h = integer\fR : See \fB\fCexecp_icon_w\fR\&. \fI(since 0.12.4)\fP .IP \(bu 2 -\fB\fCexecp_tooltip = text\fR : The tooltip. Leave it empty to not display a tooltip. Not specifying this option leads to showing an automatically generated tooltip with information about when the command was last executed. \fI(since 0.12.4)\fP +\fB\fCexecp_tooltip = text\fR : The tooltip. If left empty, no tooltip is displayed. If missing, the standard error of the command is shown as a tooltip (an ANSI clear screen sequence can reset the contents, bash: \fB\fCprintf '\\e[2J'\fR, C: \fB\fCprintf("\\x1b[2J");\fR). If the standard error is empty, the tooltip will show information about the time when the command was last executed. \fI(since 0.12.4)\fP .IP \(bu 2 \fB\fCexecp_font = [FAMILY\-LIST] [STYLE\-OPTIONS] [SIZE]\fR : The font used to draw the text. \fI(since 0.12.4)\fP .IP \(bu 2 diff --git a/doc/tint2.md b/doc/tint2.md index 38586e9..66ece25 100644 --- a/doc/tint2.md +++ b/doc/tint2.md @@ -591,7 +591,7 @@ The action semantics: * `execp_icon_h = integer` : See `execp_icon_w`. *(since 0.12.4)* - * `execp_tooltip = text` : The tooltip. Leave it empty to not display a tooltip. Not specifying this option leads to showing an automatically generated tooltip with information about when the command was last executed. *(since 0.12.4)* + * `execp_tooltip = text` : The tooltip. If left empty, no tooltip is displayed. If missing, the standard error of the command is shown as a tooltip (an ANSI clear screen sequence can reset the contents, bash: `printf '\e[2J'`, C: `printf("\x1b[2J");`). If the standard error is empty, the tooltip will show information about the time when the command was last executed. *(since 0.12.4)* * `execp_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE]` : The font used to draw the text. *(since 0.12.4)*