2009-07-08 08:09:06 +00:00
|
|
|
<variablelist>
|
2009-07-28 18:43:45 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>conky_parse(string)</option>
|
|
|
|
</command>
|
|
|
|
<option>function</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>This function takes a string that is evaluated as per
|
|
|
|
Conky's TEXT section, and then returns a string with the
|
|
|
|
result.</para>
|
2009-07-28 18:43:45 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>conky_set_update_interval(number)</option>
|
|
|
|
</command>
|
|
|
|
<option>function</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>Sets Conky's update interval (in seconds) to
|
|
|
|
'number'.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>conky_window</option>
|
|
|
|
</command>
|
|
|
|
<option>table</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>This table contains some information about Conky's window.
|
|
|
|
The following table describes the values contained:</para>
|
2009-07-28 18:43:45 +00:00
|
|
|
<simplelist>
|
|
|
|
<member>
|
|
|
|
<command>drawable</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>Window's drawable (Xlib Drawable), requires Lua
|
|
|
|
extras enabled at compile time.</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>visual</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>Window's visual (Xlib Visual), requires Lua extras
|
|
|
|
enabled at compile time.</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>display</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>Window's display (Xlib Display), requires Lua
|
|
|
|
extras enabled at compile time.</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>width</command>
|
|
|
|
<option>Window width (in pixels).</option>
|
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>height</command>
|
|
|
|
<option>Window height (in pixels).</option>
|
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>border_inner_margin</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>Window's inner border margin (in pixels).</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>border_outer_margin</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>Window's outer border margin (in pixels).</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>border_width</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>Window's border width (in pixels).</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>text_start_x</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>The x component of the starting coordinate of text
|
|
|
|
drawing.</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>text_start_y</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>The y component of the starting coordinate of text
|
|
|
|
drawing.</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>text_width</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>The width of the text drawing region.</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
<command>text_height</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>The height of the text drawing region.</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
</simplelist>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>NOTE: This table is only defined when X support is
|
|
|
|
enabled.</para>
|
2009-07-28 18:43:45 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>conky_info</option>
|
|
|
|
</command>
|
|
|
|
<option>table</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>This table contains some information about Conky's internal
|
|
|
|
data. The following table describes the values contained:</para>
|
2009-07-28 18:43:45 +00:00
|
|
|
<simplelist>
|
|
|
|
<member>
|
|
|
|
<command>update_interval</command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>Conky's update interval (in seconds).</option>
|
2009-07-28 18:43:45 +00:00
|
|
|
</member>
|
|
|
|
</simplelist>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>conky_build_info</option>
|
|
|
|
</command>
|
|
|
|
<option>string</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>A string containing the build info for this particular
|
|
|
|
instance of Conky, including the version, build date, and
|
|
|
|
architecture.</para>
|
2009-07-28 18:43:45 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>conky_build_date</option>
|
|
|
|
</command>
|
|
|
|
<option>string</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>A string containing the build date for this particular
|
|
|
|
instance of Conky.</para>
|
2009-07-28 18:43:45 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>conky_build_arch</option>
|
|
|
|
</command>
|
|
|
|
<option>string</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>A string containing the build architecture for this
|
|
|
|
particular instance of Conky.</para>
|
2009-07-28 18:43:45 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>conky_version</option>
|
|
|
|
</command>
|
|
|
|
<option>string</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>A string containing the version of the current instance of
|
|
|
|
Conky.</para>
|
2009-07-28 18:43:45 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>conky_config</option>
|
|
|
|
</command>
|
|
|
|
<option>string</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>A string containing the path of the current Conky
|
|
|
|
configuration file.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2009-11-25 20:52:44 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>cairo_text_extents_t:create()</option>
|
|
|
|
</command>
|
|
|
|
<option>function</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>Call this function to return a new cairo_text_extents_t
|
|
|
|
structure. A creation function for this structure is not provided
|
|
|
|
by the cairo API. After calling this, you should use
|
|
|
|
tolua.takeownership() on the return value to ensure ownership is
|
|
|
|
passed properly.</para>
|
2009-11-25 20:52:44 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>cairo_font_extents_t:create()</option>
|
|
|
|
</command>
|
|
|
|
<option>function</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>Call this function to return a new cairo_font_extents_t
|
|
|
|
structure. A creation function for this structure is not provided
|
|
|
|
by the cairo API. After calling this, you should use
|
|
|
|
tolua.takeownership() on the return value to ensure ownership is
|
|
|
|
passed properly.</para>
|
2009-11-25 20:52:44 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>cairo_matrix_t:create()</option>
|
|
|
|
</command>
|
|
|
|
<option>function</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
2018-12-31 10:05:44 +00:00
|
|
|
<para>Call this function to return a new cairo_matrix_t structure.
|
|
|
|
A creation function for this structure is not provided by the
|
|
|
|
cairo API. After calling this, you should use
|
|
|
|
tolua.takeownership() on the return value to ensure ownership is
|
|
|
|
passed properly.</para>
|
2018-12-22 17:57:41 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>cairo_text_extents_t:destroy(structure)</option>
|
2018-12-22 17:57:41 +00:00
|
|
|
</command>
|
|
|
|
<option>function</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>Call this function to free memory allocated by
|
|
|
|
cairo_text_extents_t:create.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
2018-12-31 10:05:44 +00:00
|
|
|
<option>cairo_font_extents_t:destroy(structure)</option>
|
2018-12-22 17:57:41 +00:00
|
|
|
</command>
|
|
|
|
<option>function</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>Call this function to free memory allocated by
|
|
|
|
cairo_font_extents_t:create.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<command>
|
|
|
|
<option>cairo_matrix_t:destroy(structure)</option>
|
|
|
|
</command>
|
|
|
|
<option>function</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>Call this function to free memory allocated by
|
|
|
|
cairo_matrix_t:create.</para>
|
2009-11-25 20:52:44 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2009-07-08 08:09:06 +00:00
|
|
|
</variablelist>
|