From 6ebfffe542564539a23079f3c142910602f11ec2 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 7 Jun 2009 21:23:35 -0600 Subject: [PATCH] Fix check_docs.py to work with cleaned up XML. --- ChangeLog | 3 + check_docs.py | 114 ++++--- doc/config_settings.xml | 144 ++++----- doc/variables.xml | 640 ++++++++++++++++++++-------------------- 4 files changed, 448 insertions(+), 453 deletions(-) diff --git a/ChangeLog b/ChangeLog index c5c6324d..b84d8f49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,9 @@ * Add entropy_perc printing the available entropy as percentage * Add read_tcp to print stuff from tcp-sockets +2009-06-07 + * Conky 1.7.1 released + 2009-05-31 * Fix hostname resolution for mpd_host * Made sure that no X11 stuff is in the binary with --disable-X11 diff --git a/check_docs.py b/check_docs.py index e7806407..ba30e1d0 100755 --- a/check_docs.py +++ b/check_docs.py @@ -29,7 +29,34 @@ file_names["config_settings"] = "doc/config_settings.xml" for fn in file_names.values(): if not os.path.exists(fn) or not os.path.isfile(fn): print "'%s' doesn't exist, or isn't a file" % (fn) - exit(0) + exit(1) + +print 'sorting/tidying docs...' + +# sort the docs by variable/config setting +import string +import xml.etree.ElementTree as ET + +vars_xml = ET.parse(file_names['variables']) +config_xml = ET.parse(file_names['config_settings']) + +getkey = lambda x: x.findtext('term/command/option') + +vars = vars_xml.getroot() +vars[:] = sorted(vars, key=getkey) + +configs = config_xml.getroot() +configs[:] = sorted(configs, key=getkey) + +vars_xml.write(file_names['variables']) +config_xml.write(file_names['config_settings']) + +def tidy(file): + command = ['tidy', '-qim', '-xml', '-utf8', '--indent-spaces', '4'] + os.system('%s %s 2>/dev/null' % (string.join(command), file)) + +tidy(file_names['variables']) +tidy(file_names['config_settings']) # # Do all the objects first @@ -54,17 +81,14 @@ file.close() doc_objects = [] exp = re.compile("\s*.*") print "checking docs -> objs consistency (in %s)" % (file_names["text_objects"]) -file = open(file_names["variables"], "r") -while file: - line = file.readline() - if len(line) == 0: - break - res = exp.match(line) - if res: - doc_objects.append(res.group(1)) - if doc_objects[len(doc_objects) - 1] != "templateN" and doc_objects[len(doc_objects) - 1] not in objects: - print " '%s' is documented, but doesn't seem to be an object" % (doc_objects[len(doc_objects) - 1]) -file.close() +for var in vars: + term = getkey(var) + doc_objects.append(term) + if ['templaten', 'colorn'].count(doc_objects[len(doc_objects) - 1].lower()): + # ignore these + continue + if doc_objects[len(doc_objects) - 1] not in objects: + print " '%s' is documented, but doesn't seem to be an object" % (doc_objects[len(doc_objects) - 1]) print "done\n" print "checking objs -> docs consistency (in %s)" % (file_names["variables"]) @@ -77,7 +101,7 @@ print "done\n" # Now we'll do config settings # -configs = [] +config_entries = [] file = open(file_names["conky"], "r") exp1 = re.compile('\s*CONF\("(\w*)".*') @@ -96,28 +120,24 @@ while file: conf = res.group(1) if re.match("color\d", conf): conf = "colorN" - if configs.count(conf) == 0: - configs.append(conf) + if config_entries.count(conf) == 0: + config_entries.append(conf) file.close() doc_configs = [] -exp = re.compile("\s*.*") print "checking docs -> configs consistency (in %s)" % (file_names["conky"]) -file = open(file_names["config_settings"], "r") -while file: - line = file.readline() - if len(line) == 0: - break - res = exp.match(line) - if res: - doc_configs.append(res.group(1)) - if doc_configs[len(doc_configs) - 1] != "TEXT" and doc_configs[len(doc_configs) - 1] != "templateN" and doc_configs[len(doc_configs) - 1] not in configs: - print " '%s' is documented, but doesn't seem to be a config setting" % (doc_configs[len(doc_configs) - 1]) -file.close() +for config in configs: + term = getkey(config) + doc_configs.append(term) + if ['text', 'templaten'].count(doc_configs[len(doc_configs) - 1].lower()): + # ignore these + continue + if doc_configs[len(doc_configs) - 1] not in config_entries: + print " '%s' is documented, but doesn't seem to be a config setting" % (doc_configs[len(doc_configs) - 1]) print "done\n" print "checking configs -> docs consistency (in %s)" % (file_names["config_settings"]) -for obj in configs: +for obj in config_entries: if obj != "text" and obj != "template" and obj not in doc_configs: print " '%s' seems to be undocumented" % (obj) print "done\n" @@ -128,13 +148,13 @@ print "done\n" for i in range(0, 10): objects.append("color" + str(i)) - configs.append("color" + str(i)) + config_entries.append("color" + str(i)) objects.append("template" + str(i)) - configs.append("template" + str(i)) + config_entries.append("template" + str(i)) # Finally, sort everything. objects.sort() -configs.sort() +config_entries.sort() # # Update nano syntax stuff @@ -156,7 +176,7 @@ for line in lines: idx = lines.index(line) lines.pop(idx) # remove old line line = 'color green "\<(' - for obj in configs: + for obj in config_entries: line += "%s|" % (obj) line = line[:len(line) - 1] line += ')\>"\n' @@ -197,7 +217,7 @@ for line in lines: idx = lines.index(line) lines.pop(idx) # remove old line line = 'syn keyword ConkyrcSetting ' - for obj in configs: + for obj in config_entries: line += "%s " % (obj) line = line[:len(line) - 1] line += '\n' @@ -217,32 +237,4 @@ file.seek(0) file.writelines(lines) file.close() - -print 'sorting/tidying docs...' - -# sort the docs by variable/config setting -import string -import xml.etree.ElementTree as ET - -vars_xml = ET.parse(file_names['variables']) -config_xml = ET.parse(file_names['config_settings']) - -getkey = lambda x: x.findtext('term/command/option') - -vars = vars_xml.getroot() -vars[:] = sorted(vars, key=getkey) - -configs = config_xml.getroot() -configs[:] = sorted(configs, key=getkey) - -vars_xml.write(file_names['variables']) -config_xml.write(file_names['config_settings']) - -def tidy(file): - command = ['tidy', '-qim', '-xml', '-utf8', '--indent-spaces', '4'] - os.system('%s %s 2>/dev/null' % (string.join(command), file)) - -tidy(file_names['variables']) -tidy(file_names['config_settings']) - print "done." diff --git a/doc/config_settings.xml b/doc/config_settings.xml index ca7bf23f..621750bc 100644 --- a/doc/config_settings.xml +++ b/doc/config_settings.xml @@ -8,7 +8,7 @@ After this begins text to be formatted on screen. Backslash (\) escapes newlines in the text section. This can be useful for cleaning up config files where conky is - used to pipe input to dzen2. + used to pipe input to dzen2. @@ -24,7 +24,7 @@ delta} then you have to write the following: alias alpha beta gamma delta . PS: Instead of creating an alias in the config you can also use environment variables. Example: - Start conky like this: alpha="beta gamma delta" conky + Start conky like this: alpha="beta gamma delta" conky @@ -37,7 +37,7 @@ top_right, top_middle, bottom_left, bottom_right, bottom_middle, middle_left, middle_right, or none (also can be abreviated as tl, tr, tm, bl, br, bm, ml, mr). See also - gap_x and gap_y. + gap_x and gap_y. @@ -46,7 +46,7 @@ - Append the file given as argument. + Append the file given as argument. @@ -56,7 +56,7 @@ Boolean value, if true, Conky will be forked to - background when started. + background when started. @@ -65,7 +65,7 @@ - Border margin in pixels. + Border margin in pixels. @@ -74,7 +74,7 @@ - Border width in pixels. + Border width in pixels. @@ -86,7 +86,7 @@ Predefine a color for use inside TEXT segments. Substitute N by a digit between 0 and 9, inclusively. When specifying the color value in hex, omit the leading hash - (#). + (#). @@ -96,7 +96,7 @@ The number of samples to average for CPU - monitoring. + monitoring. @@ -108,7 +108,7 @@ Specify a default width and height for bars. Example: 'default_bar_size 0 6'. This is particularly useful for execbar and execibar as they do not take size - arguments. + arguments. @@ -117,7 +117,7 @@ - Default color and border color + Default color and border color @@ -129,7 +129,7 @@ Specify a default width and height for gauges. Example: 'default_gauge_size 25 25'. This is particularly useful for execgauge and execigauge as they do not take - size arguments + size arguments @@ -141,7 +141,7 @@ Specify a default width and height for graphs. Example: 'default_graph_size 0 25'. This is particularly useful for execgraph and execigraph as they do not take - size arguments + size arguments @@ -150,7 +150,7 @@ - Default outline color + Default outline color @@ -159,7 +159,7 @@ - Default shading color and border's shading color + Default shading color and border's shading color @@ -169,7 +169,7 @@ The number of samples to average for disk I/O - monitoring. + monitoring. @@ -178,7 +178,7 @@ - Specify an X display to connect to. + Specify an X display to connect to. @@ -189,7 +189,7 @@ Use the Xdbe extension? (eliminates flicker) It is highly recommended to use own window with this one so - double buffer won't be so big. + double buffer won't be so big. @@ -198,7 +198,7 @@ - Draw borders around text? + Draw borders around text? @@ -207,7 +207,7 @@ - Draw borders around graphs? + Draw borders around graphs? @@ -216,7 +216,7 @@ - Draw outlines? + Draw outlines? @@ -225,7 +225,7 @@ - Draw shades? + Draw shades? @@ -235,7 +235,7 @@ Font name in X, xfontsel can be used to get a - nice font + nice font @@ -246,7 +246,7 @@ Gap, in pixels, between right or left border of screen, same as passing -x at command line, e.g. gap_x 10. - For other position related stuff, see 'alignment'. + For other position related stuff, see 'alignment'. @@ -257,7 +257,7 @@ Gap, in pixels, between top or bottom border of screen, same as passing -y at command line, e.g. gap_y 10. - For other position related stuff, see 'alignment'. + For other position related stuff, see 'alignment'. @@ -270,7 +270,7 @@ interface for being up? The value is one of up, link or address, to check for the interface being solely up, being up and having link or being up, having link and an assigned - IP address. + IP address. @@ -285,7 +285,7 @@ folder is 'INBOX', default interval is 5 minutes, and default number of retries before giving up is 5. If the password is supplied as '*', you will be prompted to enter - the password when Conky starts. + the password when Conky starts. @@ -294,7 +294,7 @@ - Interval (in seconds) to flush Imlib2 cache. + Interval (in seconds) to flush Imlib2 cache. @@ -305,7 +305,7 @@ Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value if you use $image lots. Set to 0 - to disable the image cache. + to disable the image cache. @@ -314,7 +314,7 @@ - Loads the Lua scripts separated by spaces. + Loads the Lua scripts separated by spaces. @@ -323,7 +323,7 @@ - Mail spool for mail checking + Mail spool for mail checking @@ -333,7 +333,7 @@ Allow each port monitor to track at most this - many connections (if 0 or not set, default is 256) + many connections (if 0 or not set, default is 256) @@ -343,7 +343,7 @@ Maximum number of special things, e.g. fonts, - offsets, aligns, etc. (default is 512) + offsets, aligns, etc. (default is 512) @@ -354,7 +354,7 @@ Maximum size of user text buffer, i.e. layout - below TEXT line in config file (default is 16384 bytes) + below TEXT line in config file (default is 16384 bytes) @@ -364,7 +364,7 @@ - Maximum width of window + Maximum width of window @@ -374,7 +374,7 @@ - Minimum size of window + Minimum size of window @@ -383,7 +383,7 @@ - Host of MPD server + Host of MPD server @@ -392,7 +392,7 @@ - MPD server password + MPD server password @@ -401,7 +401,7 @@ - Port of MPD server + Port of MPD server @@ -411,7 +411,7 @@ Music player thread update interval (defaults to - Conky's update interval) + Conky's update interval) @@ -420,7 +420,7 @@ - The number of samples to average for net data + The number of samples to average for net data @@ -430,7 +430,7 @@ Substract (file system) buffers from used memory? - + @@ -439,7 +439,7 @@ - Print text to stdout. + Print text to stdout. @@ -448,7 +448,7 @@ - Print text to stderr. + Print text to stderr. @@ -461,7 +461,7 @@ (useful when you also use things like out_to_console). If you set it to no, make sure that it's placed before all other X-related setting (take the first line of your - configfile to be sure). Default value is yes + configfile to be sure). Default value is yes @@ -470,7 +470,7 @@ - Force UTF8? requires XFT + Force UTF8? requires XFT @@ -479,7 +479,7 @@ - Overwrite the file given as argument. + Overwrite the file given as argument. @@ -488,7 +488,7 @@ - Boolean, create own window to draw? + Boolean, create own window to draw? @@ -498,7 +498,7 @@ Manually set the WM_CLASS name. Defaults to - "Conky". + "Conky". @@ -511,7 +511,7 @@ If own_window_transparent no, set a specified background colour (defaults to black). Takes either a hex value (#ffffff) or a valid RGB name (see - /usr/lib/X11/rgb.txt) + /usr/lib/X11/rgb.txt) @@ -527,7 +527,7 @@ own_window_type desktop as another way to implement many of these hints implicitly. If you use own_window_type override, window manager hints have no meaning and are - ignored. + ignored. @@ -537,7 +537,7 @@ Manually set the window name. Defaults to - "<hostname> - conky". + "<hostname> - conky". @@ -546,7 +546,7 @@ - Boolean, set pseudo-transparency? + Boolean, set pseudo-transparency? @@ -562,7 +562,7 @@ appear in your pager or taskbar; and are sticky across all workspaces. Override windows are not under the control of the window manager. Hints are ignored. This type of window - can be useful for certain situations. + can be useful for certain situations. @@ -572,7 +572,7 @@ Pad percentages to this many decimals (0 = no - padding) + padding) @@ -586,7 +586,7 @@ [-r retries]". Default port is 110, default interval is 5 minutes, and default number of retries before giving up is 5. If the password is supplied as '*', you will be prompted - to enter the password when Conky starts. + to enter the password when Conky starts. @@ -596,7 +596,7 @@ Shortens units to a single character (kiB->k, - GiB->G, etc.). Default is off. + GiB->G, etc.). Default is off. @@ -605,7 +605,7 @@ - Shows the time range covered by a graph. + Shows the time range covered by a graph. @@ -614,7 +614,7 @@ - Shows the maximum value in scaled graphs. + Shows the maximum value in scaled graphs. @@ -623,7 +623,7 @@ - Border stippling (dashing) in pixels + Border stippling (dashing) in pixels @@ -634,7 +634,7 @@ Desired output unit of all objects displaying a temperature. Parameters are either "fahrenheit" or - "celsius". The default unit is degree Celsius. + "celsius". The default unit is degree Celsius. @@ -647,7 +647,7 @@ segments. Substitute N by a digit between 0 and 9, inclusively. The value of the variable is being inserted into the stuff below TEXT at the corresponding position, - but before some substitutions are applied: + but before some substitutions are applied: '\n' -> newline '\\' -> backslash @@ -669,7 +669,7 @@ variables. Increasing the size of this buffer can drastically reduce Conky's performance, but will allow for more text display per variable. The size of this buffer - cannot be smaller than the default value of 256 bytes. + cannot be smaller than the default value of 256 bytes. @@ -680,7 +680,7 @@ If true, cpu in top will show usage of one processor's power. If false, cpu in top will show the usage - of all processors' power combined. + of all processors' power combined. @@ -690,7 +690,7 @@ Width for $top name value (defaults to 15 - characters). + characters). @@ -700,7 +700,7 @@ Total number of times for Conky to update before - quitting. Zero makes Conky run forever + quitting. Zero makes Conky run forever @@ -709,7 +709,7 @@ - Update interval in seconds + Update interval in seconds @@ -719,7 +719,7 @@ Boolean value, if true, text is rendered in upper - case + case @@ -733,7 +733,7 @@ and none (default). The old true/false values are deprecated and default to right/none respectively. Note that this only helps if you are using a mono font, such as - Bitstream Vera Sans Mono. + Bitstream Vera Sans Mono. @@ -742,7 +742,7 @@ - Use Xft (anti-aliased font and stuff) + Use Xft (anti-aliased font and stuff) @@ -752,7 +752,7 @@ Alpha of Xft font. Must be a value at or between - 1 and 0. + 1 and 0. @@ -761,7 +761,7 @@ - Xft font to use. + Xft font to use. diff --git a/doc/variables.xml b/doc/variables.xml index d82f329d..c5ed419e 100644 --- a/doc/variables.xml +++ b/doc/variables.xml @@ -5,7 +5,7 @@ - ACPI ac adapter state. + ACPI ac adapter state. @@ -14,7 +14,7 @@ - ACPI fan state + ACPI fan state @@ -23,7 +23,7 @@ - ACPI temperature in C. + ACPI temperature in C. @@ -34,7 +34,7 @@ IP address for an interface, or "No Address" if - no address is assigned. + no address is assigned. @@ -45,7 +45,7 @@ IP addresses for an interface (if one - works - like addr). Linux only. + like addr). Linux only. @@ -54,7 +54,7 @@ - CPU temperature from therm_adt746x + CPU temperature from therm_adt746x @@ -63,7 +63,7 @@ - Fan speed from therm_adt746x + Fan speed from therm_adt746x @@ -73,7 +73,7 @@ - Align text to centre + Align text to centre @@ -83,7 +83,7 @@ - Right-justify text, with space of N + Right-justify text, with space of N @@ -95,7 +95,7 @@ Sets up the connection to apcupsd daemon. Prints - nothing, defaults to localhost:3551 + nothing, defaults to localhost:3551 @@ -104,7 +104,7 @@ - Prints the UPS connection type. + Prints the UPS connection type. @@ -113,7 +113,7 @@ - Current battery capacity in percent. + Current battery capacity in percent. @@ -122,7 +122,7 @@ - Reason for last transfer from line to battery. + Reason for last transfer from line to battery. @@ -131,7 +131,7 @@ - Nominal input voltage. + Nominal input voltage. @@ -140,7 +140,7 @@ - Current load in percent. + Current load in percent. @@ -149,7 +149,7 @@ - Bar showing current load. + Bar showing current load. @@ -159,7 +159,7 @@ - Gauge that shows current load. + Gauge that shows current load. @@ -170,7 +170,7 @@ - History graph of current load. + History graph of current load. @@ -179,7 +179,7 @@ - Prints the model of the UPS. + Prints the model of the UPS. @@ -188,7 +188,7 @@ - Prints the UPS user-defined name. + Prints the UPS user-defined name. @@ -197,7 +197,7 @@ - Prints current status (on-line, on-battery). + Prints current status (on-line, on-battery). @@ -206,7 +206,7 @@ - Current internal temperature. + Current internal temperature. @@ -215,7 +215,7 @@ - Time left to run on battery. + Time left to run on battery. @@ -224,7 +224,7 @@ - Prints the UPS mode (e.g. standalone). + Prints the UPS mode (e.g. standalone). @@ -233,7 +233,7 @@ - Display APM AC adapter status (FreeBSD only) + Display APM AC adapter status (FreeBSD only) @@ -243,7 +243,7 @@ Display APM battery life in percent (FreeBSD - only) + only) @@ -254,7 +254,7 @@ Display remaining APM battery life in hh:mm:ss or "unknown" if AC adapterstatus is on-line or charging - (FreeBSD only) + (FreeBSD only) @@ -264,7 +264,7 @@ - Progress bar + Progress bar @@ -273,7 +273,7 @@ - Bitrate of current tune + Bitrate of current tune @@ -282,7 +282,7 @@ - Number of audio channels of current tune + Number of audio channels of current tune @@ -291,7 +291,7 @@ - Full path and filename of current tune + Full path and filename of current tune @@ -300,7 +300,7 @@ - Sampling frequency of current tune + Sampling frequency of current tune @@ -309,7 +309,7 @@ - Total length of current tune as MM:SS + Total length of current tune as MM:SS @@ -318,7 +318,7 @@ - Total length of current tune in seconds + Total length of current tune in seconds @@ -327,7 +327,7 @@ - The current volume fetched from Audacious + The current volume fetched from Audacious @@ -336,7 +336,7 @@ - Number of tunes in playlist + Number of tunes in playlist @@ -345,7 +345,7 @@ - Playlist position of current tune + Playlist position of current tune @@ -354,7 +354,7 @@ - Position of current tune (MM:SS) + Position of current tune (MM:SS) @@ -363,7 +363,7 @@ - Position of current tune in seconds + Position of current tune in seconds @@ -373,7 +373,7 @@ Player status (Playing/Paused/Stopped/Not - running) + running) @@ -384,7 +384,7 @@ Title of current tune with optional maximum - length specifier + length specifier @@ -396,7 +396,7 @@ Battery status and remaining percentage capacity of ACPI or APM battery. ACPI battery number can be given as - argument (default is BAT0). + argument (default is BAT0). @@ -408,7 +408,7 @@ Battery percentage remaining of ACPI battery in a bar. ACPI battery number can be given as argument (default - is BAT0). + is BAT0). @@ -420,7 +420,7 @@ Battery percentage remaining for ACPI battery. ACPI battery number can be given as argument (default is - BAT0). + BAT0). @@ -434,7 +434,7 @@ of ACPI or APM battery. ACPI battery number can be given as argument (default is BAT0). This mode display a short status, which means that C is displayed instead of charging - and D is displayed instead of discharging. + and D is displayed instead of discharging. @@ -446,7 +446,7 @@ Battery charge/discharge time remaining of ACPI battery. ACPI battery number can be given as argument - (default is BAT0). + (default is BAT0). @@ -455,7 +455,7 @@ - Album in current BMPx track + Album in current BMPx track @@ -464,7 +464,7 @@ - Artist in current BMPx track + Artist in current BMPx track @@ -473,7 +473,7 @@ - Bitrate of the current BMPx track + Bitrate of the current BMPx track @@ -482,7 +482,7 @@ - Title of the current BMPx track + Title of the current BMPx track @@ -491,7 +491,7 @@ - Track number of the current BMPx track + Track number of the current BMPx track @@ -500,7 +500,7 @@ - URI of the current BMPx track + URI of the current BMPx track @@ -509,7 +509,7 @@ - Amount of memory buffered + Amount of memory buffered @@ -518,7 +518,7 @@ - Amount of memory cached + Amount of memory cached @@ -528,7 +528,7 @@ - Change drawing color to color + Change drawing color to color @@ -538,7 +538,7 @@ Change drawing color to colorN configuration - option, where N is a digit between 0 and 9, inclusively. + option, where N is a digit between 0 and 9, inclusively. @@ -554,7 +554,7 @@ 2} - ${head /proc/meminfo 1}} gives as output "cpuinfo_line1 - meminfo_line1" on line 1 and "cpuinfo_line2 -" on line 2. $combine vars can also be - nested to place more vars next to each other. + nested to place more vars next to each other. @@ -563,7 +563,7 @@ - CPU architecture Conky was built for + CPU architecture Conky was built for @@ -572,7 +572,7 @@ - Date Conky was built + Date Conky was built @@ -581,7 +581,7 @@ - Conky version + Conky version @@ -594,7 +594,7 @@ CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu cpu0} is the total usage, and ${cpu cpuX} (X >= 1) are individual - CPUs. + CPUs. @@ -605,7 +605,7 @@ Bar that shows CPU usage, height is bar's height - in pixels. See $cpu for more info on SMP. + in pixels. See $cpu for more info on SMP. @@ -617,7 +617,7 @@ Elliptical gauge that shows CPU usage, height and width are gauge's vertical and horizontal axis - respectively. See $cpu for more info on SMP. + respectively. See $cpu for more info on SMP. @@ -635,7 +635,7 @@ instead of "normal". Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a particular graph - value (try it and see). + value (try it and see). @@ -647,7 +647,7 @@ Disk protection status, if supported (needs kernel-patch). Prints either "frozen" or "free " (note the - padding). + padding). @@ -659,7 +659,7 @@ Displays current disk IO. Device is optional, and takes the form of sda for /dev/sda. Individual partitions - are allowed. + are allowed. @@ -670,7 +670,7 @@ Displays current disk IO for reads. Device as in - diskio. + diskio. @@ -681,7 +681,7 @@ Displays current disk IO for writes. Device as in - diskio. + diskio. @@ -689,9 +689,9 @@ - + Disk IO graph, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the @@ -699,7 +699,7 @@ you use "log" instead of "normal". Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a particular graph - value (try it and see). + value (try it and see). @@ -707,9 +707,9 @@ - + Disk IO graph for reads, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for @@ -718,7 +718,7 @@ "normal". Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a particular graph value (try it and - see). + see). @@ -726,9 +726,9 @@ - + Disk IO graph for writes, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for @@ -737,7 +737,7 @@ "normal". Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a particular graph value (try it and - see). + see). @@ -747,7 +747,7 @@ - Download speed in KiB + Download speed in KiB @@ -757,7 +757,7 @@ - Download speed in KiB with one decimal + Download speed in KiB with one decimal @@ -765,9 +765,9 @@ - + Download speed graph, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for @@ -775,7 +775,7 @@ when you use "log" instead of "normal". Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a - particular graph value (try it and see). + particular graph value (try it and see). @@ -788,7 +788,7 @@ Number of mails marked as draft in the specified mailbox or mail spool if not. Only maildir type mailboxes - are supported, mbox type will return -1. + are supported, mbox type will return -1. @@ -797,7 +797,7 @@ - Text to show if any of the above are not true + Text to show if any of the above are not true @@ -807,7 +807,7 @@ @@ -816,7 +816,7 @@ - Current entropy available for crypto freaks + Current entropy available for crypto freaks @@ -827,7 +827,7 @@ Normalized bar of available entropy for crypto - freaks + freaks @@ -837,7 +837,7 @@ Percentage of entropy available in comparison to - the poolsize + the poolsize @@ -847,7 +847,7 @@ Total size of system entropy pool for crypto - freaks + freaks @@ -861,7 +861,7 @@ TEXT interpretation, i.e. parsing any contained text object specifications into their output, any occuring '$$' into a single '$' and so on. The output is then being parsed - again. + again. @@ -873,7 +873,7 @@ Fetches your currently training skill from the Eve Online API servers (http://www.eve-online.com/) and - displays the skill along with the remaining training time. + displays the skill along with the remaining training time. @@ -886,7 +886,7 @@ Executes a shell command and displays the output in conky. warning: this takes a lot more resources than other variables. I'd recommend coding wanted behaviour in C - and posting a patch. + and posting a patch. @@ -899,7 +899,7 @@ Same as exec, except if the first value return is a value between 0-100, it will use that number for a bar. The size for bars can be controlled via the - default_bar_size config setting. + default_bar_size config setting. @@ -912,7 +912,7 @@ Same as exec, except if the first value returned is a value between 0-100, it will use that number for a gauge. The size for gauges can be controlled via the - default_gauge_size config setting. + default_gauge_size config setting. @@ -929,7 +929,7 @@ default_graph_size config setting. Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a particular graph - value (try it and see). + value (try it and see). @@ -941,7 +941,7 @@ Same as exec but with specific interval. Interval can't be less than update_interval in configuration. See - also $texeci + also $texeci @@ -951,7 +951,7 @@ - Same as execbar, except with an interval + Same as execbar, except with an interval @@ -962,7 +962,7 @@ Same as execgauge, but takes an interval arg and - gauges values. + gauges values. @@ -973,7 +973,7 @@ Same as execgraph, but takes an interval arg and - graphs values. + graphs values. @@ -995,7 +995,7 @@ like $execi within an $execp statement, it will functionally run at the same interval that the $execp statement runs, as it is created and destroyed at every - interval. + interval. @@ -1008,7 +1008,7 @@ Same as execp but with specific interval. Interval can't be less than update_interval in configuration. Note that the output from the $execpi - command is still parsed and evaluated at every interval. + command is still parsed and evaluated at every interval. @@ -1021,7 +1021,7 @@ Number of mails marked as flagged in the specified mailbox or mail spool if not. Only maildir type - mailboxes are supported, mbox type will return -1. + mailboxes are supported, mbox type will return -1. @@ -1034,7 +1034,7 @@ Specify a different font. This new font will apply to the current line and everything following. You can use a $font with no arguments to change back to the default - font (much like with $color) + font (much like with $color) @@ -1047,7 +1047,7 @@ Number of mails marked as forwarded in the specified mailbox or mail spool if not. Only maildir type - mailboxes are supported, mbox type will return -1. + mailboxes are supported, mbox type will return -1. @@ -1058,7 +1058,7 @@ Returns CPU #n's frequency in MHz. CPUs are - counted from 1. If omitted, the parameter defaults to 1. + counted from 1. If omitted, the parameter defaults to 1. @@ -1069,7 +1069,7 @@ Returns CPU #n's frequency in GHz. CPUs are - counted from 1. If omitted, the parameter defaults to 1. + counted from 1. If omitted, the parameter defaults to 1. @@ -1081,7 +1081,7 @@ Bar that shows how much space is used on a file system. height is the height in pixels. fs is any file on - that file system. + that file system. @@ -1093,7 +1093,7 @@ Bar that shows how much space is free on a file system. height is the height in pixels. fs is any file on - that file system. + that file system. @@ -1103,7 +1103,7 @@ - Free space on a file system available for users. + Free space on a file system available for users. @@ -1114,7 +1114,7 @@ Free percentage of space on a file system - available for users. + available for users. @@ -1124,7 +1124,7 @@ - File system size. + File system size. @@ -1134,7 +1134,7 @@ - File system type. + File system type. @@ -1144,7 +1144,7 @@ - File system used space. + File system used space. @@ -1154,7 +1154,7 @@ - Percent of file system used space. + Percent of file system used space. @@ -1165,7 +1165,7 @@ The next element will be printed at position 'x'. - + @@ -1175,7 +1175,7 @@ Displays the default route's interface or - "multiple"/"none" accordingly. + "multiple"/"none" accordingly. @@ -1185,7 +1185,7 @@ Displays the default gateway's IP or - "multiple"/"none" accordingly. + "multiple"/"none" accordingly. @@ -1198,7 +1198,7 @@ Displays temperature of a selected hard disk drive as reported by the hddtemp daemon running on host:port. Default host is 127.0.0.1, default port is 7634. - + @@ -1211,7 +1211,7 @@ Displays first N lines of supplied text text file. If interval is not supplied, Conky assumes 2x Conky's interval. Max of 30 lines can be displayed, or until the - text buffer is filled. + text buffer is filled. @@ -1221,7 +1221,7 @@ - Horizontal line, height is the height in pixels + Horizontal line, height is the height in pixels @@ -1240,7 +1240,7 @@ 'offset' allow precalculation of the raw input, which is being modified as follows: 'input = input * factor + offset'. Note that they have to be given as decimal values - (i.e. contain at least one decimal place). + (i.e. contain at least one decimal place). @@ -1259,7 +1259,7 @@ allow precalculation of the raw input, which is being modified as follows: 'input = input * factor + offset'. Note that they have to be given as decimal values (i.e. - contain at least one decimal place). + contain at least one decimal place). @@ -1272,7 +1272,7 @@ If running the i8k kernel driver for Inspiron laptops, displays whether ac power is on, as listed in /proc/i8k (translated to human-readable). Beware that this - is by default not enabled by i8k itself. + is by default not enabled by i8k itself. @@ -1283,7 +1283,7 @@ @@ -1295,7 +1295,7 @@ If running the i8k kernel driver for Inspiron laptops, displays the volume buttons status as listed in - /proc/i8k. + /proc/i8k. @@ -1307,7 +1307,7 @@ If running the i8k kernel driver for Inspiron laptops, displays the cpu temperature in Celsius, as - reported by /proc/i8k. + reported by /proc/i8k. @@ -1320,7 +1320,7 @@ If running the i8k kernel driver for Inspiron laptops, displays the left fan's rate of rotation, in revolutions per minute as listed in /proc/i8k. Beware, some - laptops i8k reports these fans in reverse order. + laptops i8k reports these fans in reverse order. @@ -1333,7 +1333,7 @@ If running the i8k kernel driver for Inspiron laptops, displays the left fan status as listed in /proc/i8k (translated to human-readable). Beware, some - laptops i8k reports these fans in reverse order. + laptops i8k reports these fans in reverse order. @@ -1346,7 +1346,7 @@ If running the i8k kernel driver for Inspiron laptops, displays the right fan's rate of rotation, in revolutions per minute as listed in /proc/i8k. Beware, some - laptops i8k reports these fans in reverse order. + laptops i8k reports these fans in reverse order. @@ -1359,7 +1359,7 @@ If running the i8k kernel driver for Inspiron laptops, displays the right fan status as listed in /proc/i8k (translated to human-readable). Beware, some - laptops i8k reports these fans in reverse order. + laptops i8k reports these fans in reverse order. @@ -1371,7 +1371,7 @@ If running the i8k kernel driver for Inspiron laptops, displays your laptop serial number as listed in - /proc/i8k. + /proc/i8k. @@ -1382,7 +1382,7 @@ @@ -1392,7 +1392,7 @@ If running the IBM ACPI, displays the brigtness - of the laptops's LCD (0-7). + of the laptops's LCD (0-7). @@ -1401,7 +1401,7 @@ - If running the IBM ACPI, displays the fan speed. + If running the IBM ACPI, displays the fan speed. @@ -1413,7 +1413,7 @@ If running the IBM ACPI, displays the temperatures from the IBM temperature sensors (N=0..7) - Sensor 0 is on the CPU, 3 is on the GPU. + Sensor 0 is on the CPU, 3 is on the GPU. @@ -1423,7 +1423,7 @@ If running the IBM ACPI, displays the "master" - volume, controlled by the volume keys (0-14). + volume, controlled by the volume keys (0-14). @@ -1434,7 +1434,7 @@ Convert text from one codeset to another using - GNU iconv. Needs to be stopped with iconv_stop. + GNU iconv. Needs to be stopped with iconv_stop. @@ -1444,7 +1444,7 @@ @@ -1455,7 +1455,7 @@ if conky variable VAR is empty, display - everything between $if_empty and the matching $endif + everything between $if_empty and the matching $endif @@ -1469,7 +1469,7 @@ if_existing and the matching $endif. The optional second paramater checks for FILE containing the specified string and prints everything between $if_existing and the matching - $endif. + $endif. @@ -1479,7 +1479,7 @@ if there is at least one default gateway, display - everything between $if_gw and the matching $endif + everything between $if_gw and the matching $endif @@ -1495,7 +1495,7 @@ Valid expressions consist of a left side, an operator and a right side. Left and right sides are being parsed for contained text objects before evaluation. Recognised left - and right side types are: + and right side types are: double: argument consists of only @@ -1508,7 +1508,7 @@ quotation mark or the checks for double and long failed before. Valid operands are: '>', '<', '>=', - '<=', '==', '!='. + '<=', '==', '!='. @@ -1520,7 +1520,7 @@ If mixer exists, display everything between $if_mixer_mute and the matching $endif. If no mixer is - specified, "Master" is used. + specified, "Master" is used. @@ -1531,7 +1531,7 @@ if MOUNTPOINT is mounted, display everything - between $if_mounted and the matching $endif + between $if_mounted and the matching $endif @@ -1541,7 +1541,7 @@ if mpd is playing or paused, display everything - between $if_mpd_playing and the matching $endif + between $if_mpd_playing and the matching $endif @@ -1553,7 +1553,7 @@ if PROCESS is running, display everything $if_running and the matching $endif. This uses the - ``pidof'' command, so the -x switch is also supported. + ``pidof'' command, so the -x switch is also supported. @@ -1565,7 +1565,7 @@ when using smapi, if the battery with index INDEX is installed, display everything between - $if_smapi_bat_installed and the matching $endif + $if_smapi_bat_installed and the matching $endif @@ -1576,7 +1576,7 @@ if INTERFACE exists and is up, display everything - between $if_up and the matching $endif + between $if_up and the matching $endif @@ -1592,7 +1592,7 @@ reached. Example : "{$if_updatenr 1}foo$endif{$if_updatenr 2}bar$endif{$if_updatenr 4}$endif" shows foo 25% of the time followed by bar 25% of the time followed by nothing - the other half of the time. + the other half of the time. @@ -1602,7 +1602,7 @@ Display everything between $if_xmms2_connected - and the matching $endif if xmms2 is running. + and the matching $endif if xmms2 is running. @@ -1628,7 +1628,7 @@ rendered as per the arguments passed. The only reason $image is part of the TEXT section, is to allow for runtime modifications, through $execp $lua_parse, $lua_read_parse, - or some other method. + or some other method. @@ -1646,7 +1646,7 @@ port is 143, default folder is 'INBOX', default interval is 5 minutes, and default number of retries before giving up is 5. If the password is supplied as '*', you will be - prompted to enter the password when Conky starts. + prompted to enter the password when Conky starts. @@ -1664,7 +1664,7 @@ Default port is 143, default folder is 'INBOX', default interval is 5 minutes, and default number of retries before giving up is 5. If the password is supplied as '*', you - will be prompted to enter the password when Conky starts. + will be prompted to enter the password when Conky starts. @@ -1675,7 +1675,7 @@ Prints the current ioscheduler used for the given - disk name (i.e. e.g. "hda" or "sdb") + disk name (i.e. e.g. "hda" or "sdb") @@ -1684,7 +1684,7 @@ - Kernel version + Kernel version @@ -1693,7 +1693,7 @@ - The value of /proc/sys/vm/laptop_mode + The value of /proc/sys/vm/laptop_mode @@ -1703,7 +1703,7 @@ - Displays the number of lines in the given file + Displays the number of lines in the given file @@ -1713,7 +1713,7 @@ (1,2,3)> System load average, 1 is for past 1 - minute, 2 for past 5 minutes and 3 for past 15 minutes. + minute, 2 for past 5 minutes and 3 for past 15 minutes. @@ -1730,7 +1730,7 @@ "normal". Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a particular graph value (try it and - see). + see). @@ -1742,7 +1742,7 @@ Executes a Lua function with given parameters, then prints the returned string. See also 'lua_load' on how - to load scripts. + to load scripts. @@ -1755,7 +1755,7 @@ Executes a Lua function with given parameters and draws a bar. Expects result value to be an integer between - 0 and 100. See also 'lua_load' on how to load scripts. + 0 and 100. See also 'lua_load' on how to load scripts. @@ -1769,7 +1769,7 @@ Executes a Lua function with given parameters and draws a gauge. Expects result value to be an integer between 0 and 100. See also 'lua_load' on how to load - scripts. + scripts. @@ -1777,17 +1777,17 @@ - + Executes a Lua function with given parameters and - draws a graph. Expects result value to be any number, and by default will scale to show the full range. See also 'lua_load' on how to load - scripts. Takes the switch '-t' to use a temperature - gradient, which makes the gradient values change depending - on the amplitude of a particular graph value (try it and - see). + draws a graph. Expects result value to be any number, and + by default will scale to show the full range. See also + 'lua_load' on how to load scripts. Takes the switch '-t' to + use a temperature gradient, which makes the gradient values + change depending on the amplitude of a particular graph + value (try it and see). @@ -1800,7 +1800,7 @@ Executes a Lua function with given parameters as per $lua, then parses and prints the result value as per the syntax for Conky's TEXT section. See also 'lua_load' on - how to load scripts. + how to load scripts. @@ -1815,7 +1815,7 @@ section and passed to the function first. The return value is then parsed and prints the result value as per the syntax for Conky's TEXT section. See also 'lua_load' on how - to load scripts. + to load scripts. @@ -1824,7 +1824,7 @@ - Machine, i686 for example + Machine, i686 for example @@ -1839,7 +1839,7 @@ spool if not. Both mbox and maildir type mailboxes are supported. You can use a program like fetchmail to get mails from some server using your favourite protocol. See - also new_mails. + also new_mails. @@ -1853,7 +1853,7 @@ Print a summary of recent messages in an mbox format mailbox. mbox parameter is the filename of the mailbox (can be encapsulated using '"', ie. ${mboxscan -n - 10 "/home/brenden/some box"} + 10 "/home/brenden/some box"} @@ -1862,7 +1862,7 @@ - Amount of memory in use + Amount of memory in use @@ -1872,7 +1872,7 @@ - Bar that shows amount of memory in use + Bar that shows amount of memory in use @@ -1882,7 +1882,7 @@ Amount of free memory including the memory that - is very easily freed (buffers/cache) + is very easily freed (buffers/cache) @@ -1891,7 +1891,7 @@ - Amount of free memory + Amount of free memory @@ -1902,7 +1902,7 @@ Gauge that shows amount of memory in use (see - cpugauge) + cpugauge) @@ -1917,7 +1917,7 @@ see small numbers) when you use "log" instead of "normal". Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude - of a particular graph value (try it and see). + of a particular graph value (try it and see). @@ -1926,7 +1926,7 @@ - Total amount of memory + Total amount of memory @@ -1935,7 +1935,7 @@ - Percentage of memory in use + Percentage of memory in use @@ -1954,7 +1954,7 @@ "monitor". Refer to the definition of SOUND_DEVICE_NAMES in <linux/soundcard.h> (on Linux), <soundcard.h> (on OpenBSD), or <sys/soundcard.h> to find the exact - options available on your system. + options available on your system. @@ -1965,7 +1965,7 @@ Displays mixer value in a bar as reported by the - OS. See docs for $mixer for details on arguments. + OS. See docs for $mixer for details on arguments. @@ -1976,7 +1976,7 @@ Prints the left channel mixer value as reported - by the OS. See docs for $mixer for details on arguments. + by the OS. See docs for $mixer for details on arguments. @@ -1988,7 +1988,7 @@ Displays the left channel mixer value in a bar as reported by the OS. See docs for $mixer for details on - arguments. + arguments. @@ -1999,7 +1999,7 @@ Prints the right channel mixer value as reported - by the OS. See docs for $mixer for details on arguments. + by the OS. See docs for $mixer for details on arguments. @@ -2011,7 +2011,7 @@ Displays the right channel mixer value in a bar as reported by the OS. See docs for $mixer for details on - arguments. + arguments. @@ -2020,7 +2020,7 @@ - Album of the current MOC song + Album of the current MOC song @@ -2029,7 +2029,7 @@ - Artist of the current MOC song + Artist of the current MOC song @@ -2038,7 +2038,7 @@ - Bitrate in the current MOC song + Bitrate in the current MOC song @@ -2047,7 +2047,7 @@ - Current time of the current MOC song + Current time of the current MOC song @@ -2056,7 +2056,7 @@ - File name of the current MOC song + File name of the current MOC song @@ -2065,7 +2065,7 @@ - Rate of the current MOC song + Rate of the current MOC song @@ -2074,7 +2074,7 @@ - The current song name being played in MOC. + The current song name being played in MOC. @@ -2083,7 +2083,7 @@ - Current state of MOC; playing, stopped etc. + Current state of MOC; playing, stopped etc. @@ -2092,7 +2092,7 @@ - Time left in the current MOC song + Time left in the current MOC song @@ -2101,7 +2101,7 @@ - Title of the current MOC song + Title of the current MOC song @@ -2110,7 +2110,7 @@ - Total length of the current MOC song + Total length of the current MOC song @@ -2119,7 +2119,7 @@ - Number of the monitor on which conky is running + Number of the monitor on which conky is running @@ -2128,7 +2128,7 @@ - Number of monitors + Number of monitors @@ -2137,7 +2137,7 @@ - Album in current MPD song + Album in current MPD song @@ -2147,7 +2147,7 @@ Artist in current MPD song must be enabled at - compile + compile @@ -2157,7 +2157,7 @@ - Bar of mpd's progress + Bar of mpd's progress @@ -2166,7 +2166,7 @@ - Bitrate of current song + Bitrate of current song @@ -2175,7 +2175,7 @@ - Song's elapsed time + Song's elapsed time @@ -2184,7 +2184,7 @@ - Prints the file name of the current MPD song + Prints the file name of the current MPD song @@ -2193,7 +2193,7 @@ - Song's length + Song's length @@ -2202,7 +2202,7 @@ - Prints the MPD name field + Prints the MPD name field @@ -2211,7 +2211,7 @@ - Percent of song's progress + Percent of song's progress @@ -2220,7 +2220,7 @@ - Random status (On/Off) + Random status (On/Off) @@ -2229,7 +2229,7 @@ - Repeat status (On/Off) + Repeat status (On/Off) @@ -2240,7 +2240,7 @@ Prints the song name in either the form "artist - - title" or file name, depending on whats available + title" or file name, depending on whats available @@ -2249,7 +2249,7 @@ - Playing, stopped, et cetera. + Playing, stopped, et cetera. @@ -2259,7 +2259,7 @@ - Title of current MPD song + Title of current MPD song @@ -2268,7 +2268,7 @@ - Prints the MPD track field + Prints the MPD track field @@ -2277,7 +2277,7 @@ - MPD's volume + MPD's volume @@ -2288,7 +2288,7 @@ Print a nameserver from /etc/resolv.conf. Index - starts at and defaults to 0. + starts at and defaults to 0. @@ -2301,7 +2301,7 @@ Unread mail count in the specified mailbox or mail spool if not. Both mbox and maildir type mailboxes are - supported. + supported. @@ -2310,7 +2310,7 @@ - Hostname + Hostname @@ -2328,7 +2328,7 @@ Nvidia graficcard support for the XNVCtrl library. Each option can be shortened to the least significant part. Temperatures are printed as float, all - other values as integer. + other values as integer. threshold: the thresholdtemperature @@ -2358,7 +2358,7 @@ - Move text over by N pixels. See also $voffset. + Move text over by N pixels. See also $voffset. @@ -2368,7 +2368,7 @@ - Change outline color + Change outline color @@ -2381,7 +2381,7 @@ If running on Apple powerbook/ibook, display information on battery status. The item parameter specifies, what information to display. Exactly one item - must be specified. Valid items are: + must be specified. Valid items are: status: Display if battery is fully @@ -2417,7 +2417,7 @@ 'offset' allow precalculation of the raw input, which is being modified as follows: 'input = input * factor + offset'. Note that they have to be given as decimal values - (i.e. contain at least one decimal place). + (i.e. contain at least one decimal place). @@ -2435,7 +2435,7 @@ port is 110, default interval is 5 minutes, and default number of retries before giving up is 5. If the password is supplied as '*', you will be prompted to enter the password - when Conky starts. + when Conky starts. @@ -2453,7 +2453,7 @@ port is 110, default interval is 5 minutes, and default number of retries before giving up is 5. If the password is supplied as '*', you will be prompted to enter the password - when Conky starts. + when Conky starts. @@ -2464,7 +2464,7 @@ Executes a shell command one time before conky - displays anything and puts output as text. + displays anything and puts output as text. @@ -2473,7 +2473,7 @@ - Total processes (sleeping and running) + Total processes (sleeping and running) @@ -2485,7 +2485,7 @@ Connects to a tcp port on a host (default is localhost), reads every char available at the moment and - shows them. + shows them. @@ -2498,7 +2498,7 @@ Number of mails marked as replied in the specified mailbox or mail spool if not. Only maildir type - mailboxes are supported, mbox type will return -1. + mailboxes are supported, mbox type will return -1. @@ -2513,7 +2513,7 @@ of the following: feed_title, item_title (with num par), item_desc (with num par) and item_titles (when using this action and spaces_in_front is given conky places that many - spaces in front of each item). + spaces in front of each item). @@ -2523,7 +2523,7 @@ Running processes (not sleeping), requires Linux - 2.6 + 2.6 @@ -2543,7 +2543,7 @@ spaces between the start and the end of 'text', place them at the end of 'text' not at the front ("foobar" and " foobar" can both generate "barfoo" but "foobar " will keep - the spaces like this "bar foo"). + the spaces like this "bar foo"). @@ -2556,7 +2556,7 @@ Number of mails marked as seen in the specified mailbox or mail spool if not. Only maildir type mailboxes - are supported, mbox type will return -1. + are supported, mbox type will return -1. @@ -2566,7 +2566,7 @@ - Change shading color + Change shading color @@ -2581,7 +2581,7 @@ '(FILENAME)' or 'bat (INDEX) (FILENAME)' to display the corresponding files' content. This is a very raw method of accessing the smapi values. When available, better use one - of the smapi_* variables instead. + of the smapi_* variables instead. @@ -2592,7 +2592,7 @@ when using smapi, display the remaining capacity - of the battery with index INDEX as a bar. + of the battery with index INDEX as a bar. @@ -2605,7 +2605,7 @@ when using smapi, display the remaining capacity in percent of the battery with index INDEX. This is a separate variable because it supports the 'use_spacer' - configuration option. + configuration option. @@ -2619,7 +2619,7 @@ the battery with index INDEX in watt. This is a separate variable because the original read out value is being converted from mW. The sign of the output reflects charging - (positive) or discharging (negative) state. + (positive) or discharging (negative) state. @@ -2632,7 +2632,7 @@ when using smapi, display the current temperature of the battery with index INDEX in degree Celsius. This is a separate variable because the original read out value is - being converted from milli degree Celsius. + being converted from milli degree Celsius. @@ -2642,7 +2642,7 @@ Displays the Sony VAIO fanspeed information if - sony-laptop kernel support is enabled. Linux only. + sony-laptop kernel support is enabled. Linux only. @@ -2652,7 +2652,7 @@ - Stippled (dashed) horizontal line + Stippled (dashed) horizontal line @@ -2661,7 +2661,7 @@ - Amount of swap in use + Amount of swap in use @@ -2671,7 +2671,7 @@ - Bar that shows amount of swap in use + Bar that shows amount of swap in use @@ -2680,7 +2680,7 @@ - Total amount of swap + Total amount of swap @@ -2689,7 +2689,7 @@ - Percentage of swap in use + Percentage of swap in use @@ -2698,7 +2698,7 @@ - System name, Linux for example + System name, Linux for example @@ -2709,7 +2709,7 @@ Puts a tab of the specified width, starting from - column 'start'. The unit is pixels for both arguments. + column 'start'. The unit is pixels for both arguments. @@ -2722,7 +2722,7 @@ Displays last N lines of supplied text text file. If interval is not supplied, Conky assumes 2x Conky's interval. Max of 30 lines can be displayed, or until the - text buffer is filled. + text buffer is filled. @@ -2734,7 +2734,7 @@ (ip4 only at present) TCP port monitor for specified local ports. Port - numbers must be in the range 1 to 65535. Valid items are: + numbers must be in the range 1 to 65535. Valid items are: count- total number of connections @@ -2762,7 +2762,7 @@ return information for index values from 0 to n-1 connections. Values higher than n-1 are simply ignored. For the "count" item, the connection index must be omitted. It - is required for all other items. + is required for all other items. Examples: @@ -2814,9 +2814,9 @@ same special sequences in each argument as the ones valid for a template definition, e.g. to allow an argument to contain a whitespace. Also simple nesting of templates is - possible this way. + possible this way. - Here are some examples of template definitions: + Here are some examples of template definitions: template0 $\1\2 template1 \1: ${fs_used \2} / ${fs_size @@ -2824,7 +2824,7 @@ template2 \1 \2 The following list shows sample usage of the templates defined above, with the equivalent syntax when - not using any template at all: + not using any template at all: @@ -2873,7 +2873,7 @@ longer then the time it takes your script to execute. For example, if you have a script that take 5 seconds to execute, you should make the interval at least 6 seconds. - See also $execi. + See also $execi. @@ -2884,7 +2884,7 @@ Local time, see man strftime to get more - information about format + information about format @@ -2899,7 +2899,7 @@ lowest in terms of cpu usage, which is what (num) represents. The types are: "name", "pid", "cpu", "mem", "mem_res", "mem_vsize", and "time". There can be a max of - 10 processes listed. + 10 processes listed. @@ -2910,7 +2910,7 @@ Same as top, except sorted by mem usage instead - of cpu + of cpu @@ -2921,7 +2921,7 @@ Same as top, except sorted by total CPU time - instead of current CPU usage + instead of current CPU usage @@ -2934,7 +2934,7 @@ Total download, overflows at 4 GB on Linux with 32-bit arch and there doesn't seem to be a way to know how many times it has already done that before conky has - started. + started. @@ -2944,7 +2944,7 @@ - Total upload, this one too, may overflow + Total upload, this one too, may overflow @@ -2957,7 +2957,7 @@ Number of mails marked as trashed in the specified mailbox or mail spool if not. Only maildir type - mailboxes are supported, mbox type will return -1. + mailboxes are supported, mbox type will return -1. @@ -2971,7 +2971,7 @@ strftime to get more information about format. The timezone argument is specified in similar fashion as TZ environment variable. For hints, look in /usr/share/zoneinfo. e.g. - US/Pacific, Europe/Zurich, etc. + US/Pacific, Europe/Zurich, etc. @@ -2984,7 +2984,7 @@ Number of mails not marked as flagged in the specified mailbox or mail spool if not. Only maildir type - mailboxes are supported, mbox type will return -1. + mailboxes are supported, mbox type will return -1. @@ -2997,7 +2997,7 @@ Number of mails not marked as forwarded in the specified mailbox or mail spool if not. Only maildir type - mailboxes are supported, mbox type will return -1. + mailboxes are supported, mbox type will return -1. @@ -3010,7 +3010,7 @@ Number of mails not marked as replied in the specified mailbox or mail spool if not. Only maildir type - mailboxes are supported, mbox type will return -1. + mailboxes are supported, mbox type will return -1. @@ -3023,7 +3023,7 @@ Number of new or unseen mails in the specified mailbox or mail spool if not. Only maildir type mailboxes - are supported, mbox type will return -1. + are supported, mbox type will return -1. @@ -3033,7 +3033,7 @@ - for debugging + for debugging @@ -3043,7 +3043,7 @@ - Upload speed in KiB + Upload speed in KiB @@ -3053,7 +3053,7 @@ - Upload speed in KiB with one decimal + Upload speed in KiB with one decimal @@ -3061,9 +3061,9 @@ - + Upload speed graph, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the @@ -3071,7 +3071,7 @@ you use "log" instead of "normal". Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a particular graph - value (try it and see). + value (try it and see). @@ -3080,7 +3080,7 @@ - Uptime + Uptime @@ -3089,7 +3089,7 @@ - Uptime in a shorter format + Uptime in a shorter format @@ -3098,7 +3098,7 @@ - Lists the names of the users logged in + Lists the names of the users logged in @@ -3107,7 +3107,7 @@ - Number of users logged in + Number of users logged in @@ -3116,7 +3116,7 @@ - Lists the consoles in use + Lists the consoles in use @@ -3125,7 +3125,7 @@ - Lists how long users have been logged in for + Lists how long users have been logged in for @@ -3135,7 +3135,7 @@ - Display time in UTC (universal coordinate time). + Display time in UTC (universal coordinate time). @@ -3146,7 +3146,7 @@ Change vertical offset by N pixels. Negative - values will cause text to overlap. See also $offset. + values will cause text to overlap. See also $offset. @@ -3157,7 +3157,7 @@ Returns CPU #n's voltage in mV. CPUs are counted - from 1. If omitted, the parameter defaults to 1. + from 1. If omitted, the parameter defaults to 1. @@ -3168,7 +3168,7 @@ Returns CPU #n's voltage in V. CPUs are counted - from 1. If omitted, the parameter defaults to 1. + from 1. If omitted, the parameter defaults to 1. @@ -3178,7 +3178,7 @@ - Wireless access point MAC address (Linux only) + Wireless access point MAC address (Linux only) @@ -3188,7 +3188,7 @@ - Wireless bitrate (ie 11 Mb/s) (Linux only) + Wireless bitrate (ie 11 Mb/s) (Linux only) @@ -3198,7 +3198,7 @@ - Wireless access point ESSID (Linux only) + Wireless access point ESSID (Linux only) @@ -3208,7 +3208,7 @@ - Wireless link quality bar (Linux only) + Wireless link quality bar (Linux only) @@ -3218,7 +3218,7 @@ - Wireless link quality (Linux only) + Wireless link quality (Linux only) @@ -3228,7 +3228,7 @@ - Wireless link quality maximum value (Linux only) + Wireless link quality maximum value (Linux only) @@ -3238,7 +3238,7 @@ - Wireless link quality in percents (Linux only) + Wireless link quality in percents (Linux only) @@ -3249,7 +3249,7 @@ Wireless mode (Managed/Ad-Hoc/Master) (Linux - only) + only) @@ -3259,7 +3259,7 @@ - Displays the number of words in the given file + Displays the number of words in the given file @@ -3268,7 +3268,7 @@ - Album in current XMMS2 song + Album in current XMMS2 song @@ -3277,7 +3277,7 @@ - Artist in current XMMS2 song + Artist in current XMMS2 song @@ -3287,7 +3287,7 @@ - Bar of XMMS2's progress + Bar of XMMS2's progress @@ -3296,7 +3296,7 @@ - Bitrate of current song + Bitrate of current song @@ -3305,7 +3305,7 @@ - Comment in current XMMS2 song + Comment in current XMMS2 song @@ -3314,7 +3314,7 @@ - Returns song's date. + Returns song's date. @@ -3323,7 +3323,7 @@ - Duration of current song + Duration of current song @@ -3332,7 +3332,7 @@ - Song's elapsed time + Song's elapsed time @@ -3341,7 +3341,7 @@ - Genre in current XMMS2 song + Genre in current XMMS2 song @@ -3350,7 +3350,7 @@ - XMMS2 id of current song + XMMS2 id of current song @@ -3359,7 +3359,7 @@ - Percent of song's progress + Percent of song's progress @@ -3368,7 +3368,7 @@ - Returns the XMMS2 playlist. + Returns the XMMS2 playlist. @@ -3377,7 +3377,7 @@ - Size of current song + Size of current song @@ -3387,7 +3387,7 @@ Prints the song name in either the form "artist - - title" or file name, depending on whats available + title" or file name, depending on whats available @@ -3397,7 +3397,7 @@ XMMS2 status (Playing, Paused, Stopped, or - Disconnected) + Disconnected) @@ -3406,7 +3406,7 @@ - Number of times a song was played (presumably). + Number of times a song was played (presumably). @@ -3415,7 +3415,7 @@ - Title in current XMMS2 song + Title in current XMMS2 song @@ -3424,7 +3424,7 @@ - Track number in current XMMS2 song + Track number in current XMMS2 song @@ -3433,7 +3433,7 @@ - Full path to current song + Full path to current song