5 <option>acpiacadapter</option>
8 <listitem>ACPI ac adapter state.
14 <option>acpifan</option>
17 <listitem>ACPI fan state
23 <option>acpitemp</option>
26 <listitem>ACPI temperature in C.
34 <option>(interface)</option>
36 <listitem>IP address for an interface, or "No Address" if
37 no address is assigned.
43 <option>addrs</option>
45 <option>(interface)</option>
47 <listitem>IP addresses for an interface (if one - works
48 like addr). Linux only.
54 <option>adt746xcpu</option>
57 <listitem>CPU temperature from therm_adt746x
63 <option>adt746xfan</option>
66 <listitem>Fan speed from therm_adt746x
72 <option>alignc</option>
74 <option>(num)</option>
76 <listitem>Align text to centre
82 <option>alignr</option>
84 <option>(num)</option>
86 <listitem>Right-justify text, with space of N
92 <option>apcupsd</option>
97 <listitem>Sets up the connection to apcupsd daemon. Prints
98 nothing, defaults to localhost:3551
104 <option>apcupsd_cable</option>
107 <listitem>Prints the UPS connection type.
113 <option>apcupsd_charge</option>
116 <listitem>Current battery capacity in percent.
122 <option>apcupsd_lastxfer</option>
125 <listitem>Reason for last transfer from line to battery.
131 <option>apcupsd_linev</option>
134 <listitem>Nominal input voltage.
140 <option>apcupsd_load</option>
143 <listitem>Current load in percent.
149 <option>apcupsd_loadbar</option>
152 <listitem>Bar showing current load.
158 <option>apcupsd_loadgauge</option>
160 <option>(height),(width)</option>
162 <listitem>Gauge that shows current load.
168 <option>apcupsd_loadgraph</option>
170 <option>(height),(width) (gradient colour 1) (gradient
171 colour 2) (scale) (-t) (-l)</option>
173 <listitem>History graph of current load.
179 <option>apcupsd_model</option>
182 <listitem>Prints the model of the UPS.
188 <option>apcupsd_name</option>
191 <listitem>Prints the UPS user-defined name.
197 <option>apcupsd_status</option>
200 <listitem>Prints current status (on-line, on-battery).
206 <option>apcupsd_temp</option>
209 <listitem>Current internal temperature.
215 <option>apcupsd_timeleft</option>
218 <listitem>Time left to run on battery.
224 <option>apcupsd_upsmode</option>
227 <listitem>Prints the UPS mode (e.g. standalone).
233 <option>apm_adapter</option>
236 <listitem>Display APM AC adapter status (FreeBSD only)
242 <option>apm_battery_life</option>
245 <listitem>Display APM battery life in percent (FreeBSD
252 <option>apm_battery_time</option>
255 <listitem>Display remaining APM battery life in hh:mm:ss or
256 "unknown" if AC adapterstatus is on-line or charging
263 <option>audacious_bar</option>
265 <option>(height),(width)</option>
267 <listitem>Progress bar
273 <option>audacious_bitrate</option>
276 <listitem>Bitrate of current tune
282 <option>audacious_channels</option>
285 <listitem>Number of audio channels of current tune
291 <option>audacious_filename</option>
294 <listitem>Full path and filename of current tune
300 <option>audacious_frequency</option>
303 <listitem>Sampling frequency of current tune
309 <option>audacious_length</option>
312 <listitem>Total length of current tune as MM:SS
318 <option>audacious_length_seconds</option>
321 <listitem>Total length of current tune in seconds
327 <option>audacious_main_volume</option>
330 <listitem>The current volume fetched from Audacious
336 <option>audacious_playlist_length</option>
339 <listitem>Number of tunes in playlist
345 <option>audacious_playlist_position</option>
348 <listitem>Playlist position of current tune
354 <option>audacious_position</option>
357 <listitem>Position of current tune (MM:SS)
363 <option>audacious_position_seconds</option>
366 <listitem>Position of current tune in seconds
372 <option>audacious_status</option>
375 <listitem>Player status (Playing/Paused/Stopped/Not
382 <option>audacious_title</option>
384 <option>(max length)</option>
386 <listitem>Title of current tune with optional maximum
393 <option>battery</option>
395 <option>(num)</option>
397 <listitem>Battery status and remaining percentage capacity
398 of ACPI or APM battery. ACPI battery number can be given as
399 argument (default is BAT0).
405 <option>battery_bar</option>
407 <option>(height),(width) (num)</option>
409 <listitem>Battery percentage remaining of ACPI battery in a
410 bar. ACPI battery number can be given as argument (default
417 <option>battery_percent</option>
419 <option>(num)</option>
421 <listitem>Battery percentage remaining for ACPI battery.
422 ACPI battery number can be given as argument (default is
429 <option>battery_short</option>
431 <option>(num)</option>
433 <listitem>Battery status and remaining percentage capacity
434 of ACPI or APM battery. ACPI battery number can be given as
435 argument (default is BAT0). This mode display a short
436 status, which means that C is displayed instead of
437 charging, D for discharging, F for full, N for not present,
438 E for empty and U for unknown.
444 <option>battery_time</option>
446 <option>(num)</option>
448 <listitem>Battery charge/discharge time remaining of ACPI
449 battery. ACPI battery number can be given as argument
456 <option>blink</option>
458 <option>text_and_other_conky_vars</option>
460 <listitem>Let 'text_and_other_conky_vars' blink on and off.
467 <option>bmpx_album</option>
470 <listitem>Album in current BMPx track
476 <option>bmpx_artist</option>
479 <listitem>Artist in current BMPx track
485 <option>bmpx_bitrate</option>
488 <listitem>Bitrate of the current BMPx track
494 <option>bmpx_title</option>
497 <listitem>Title of the current BMPx track
503 <option>bmpx_track</option>
506 <listitem>Track number of the current BMPx track
512 <option>bmpx_uri</option>
515 <listitem>URI of the current BMPx track
521 <option>buffers</option>
524 <listitem>Amount of memory buffered
530 <option>cached</option>
533 <listitem>Amount of memory cached
539 <option>color</option>
541 <option>(color)</option>
543 <listitem>Change drawing color to color
549 <option>colorN</option>
552 <listitem>Change drawing color to colorN configuration
553 option, where N is a digit between 0 and 9, inclusively.
559 <option>combine</option>
561 <option>var1 var2</option>
563 <listitem>Places the lines of var2 to the right of the
564 lines of var1 seperated by the chars that are put between
565 var1 and var2. For example: ${combine ${head /proc/cpuinfo
566 2} - ${head /proc/meminfo 1}} gives as output
567 "cpuinfo_line1 - meminfo_line1" on line 1 and
568 "cpuinfo_line2 -" on line 2. $combine vars can also be
569 nested to place more vars next to each other.
575 <option>conky_build_arch</option>
578 <listitem>CPU architecture Conky was built for
584 <option>conky_build_date</option>
587 <listitem>Date Conky was built
593 <option>conky_version</option>
596 <listitem>Conky version
604 <option>(cpuN)</option>
606 <listitem>CPU usage in percents. For SMP machines, the CPU
607 number can be provided as an argument. ${cpu cpu0} is the
608 total usage, and ${cpu cpuX} (X >= 1) are individual
615 <option>cpubar</option>
617 <option>(cpuN) (height),(width)</option>
619 <listitem>Bar that shows CPU usage, height is bar's height
620 in pixels. See $cpu for more info on SMP.
626 <option>cpugauge</option>
628 <option>(cpuN) (height),(width)</option>
630 <listitem>Elliptical gauge that shows CPU usage, height and
631 width are gauge's vertical and horizontal axis
632 respectively. See $cpu for more info on SMP.
638 <option>cpugraph</option>
640 <option>(cpuN) (height),(width) (gradient colour 1)
641 (gradient colour 2) (scale) (-t) (-l)</option>
643 <listitem>CPU usage graph, with optional colours in hex,
644 minus the #. See $cpu for more info on SMP. Uses a
645 logarithmic scale (to see small numbers) when you use the
646 -l switch. Takes the switch '-t' to use a temperature
647 gradient, which makes the gradient values change depending
648 on the amplitude of a particular graph value (try it and
655 <option>curl</option>
657 <option>url interval_in_minutes</option>
660 <para>Download data from URI using Curl at the
661 specified interval. The interval may be a floating
662 point value greater than 0, otherwise defaults to 15
663 minutes. Most useful when used in conjunction with Lua
664 and the Lua API. This object is threaded, and once a
665 thread is created it can't be explicitely destroyed.
666 One thread will run for each URI specified. You can use
667 any protocol that Curl supports.</para>
673 <option>desktop</option>
676 <listitem>Number of the desktop on which conky is running
677 or the message "Not running in X" if this is the case.
683 <option>desktop_name</option>
686 <listitem>Name of the desktop on which conky is running or
687 the message "Not running in X" if this is the case.
693 <option>desktop_number</option>
696 <listitem>Number of desktops or the message "Not running in
697 X" if this is the case.
703 <option>disk_protect</option>
705 <option>device</option>
707 <listitem>Disk protection status, if supported (needs
708 kernel-patch). Prints either "frozen" or "free " (note the
715 <option>diskio</option>
717 <option>(device)</option>
719 <listitem>Displays current disk IO. Device is optional, and
720 takes the form of sda for /dev/sda. Individual partitions
727 <option>diskio_read</option>
729 <option>(device)</option>
731 <listitem>Displays current disk IO for reads. Device as in
738 <option>diskio_write</option>
740 <option>(device)</option>
742 <listitem>Displays current disk IO for writes. Device as in
749 <option>diskiograph</option>
751 <option>(device) (height),(width) (gradient colour 1)
752 (gradient colour 2) (scale) (-t) (-l)</option>
754 <listitem>Disk IO graph, colours defined in hex, minus the
755 #. If scale is non-zero, it becomes the scale for the
756 graph. Uses a logarithmic scale (to see small numbers) when
757 you use -l switch. Takes the switch '-t' to use a
758 temperature gradient, which makes the gradient values
759 change depending on the amplitude of a particular graph
760 value (try it and see).
766 <option>diskiograph_read</option>
768 <option>(device) (height),(width) (gradient colour 1)
769 (gradient colour 2) (scale) (-t) (-l)</option>
771 <listitem>Disk IO graph for reads, colours defined in hex,
772 minus the #. If scale is non-zero, it becomes the scale for
773 the graph. Device as in diskio. Uses a logarithmic scale
774 (to see small numbers) when you use -l switch. Takes the
775 switch '-t' to use a temperature gradient, which makes the
776 gradient values change depending on the amplitude of a
777 particular graph value (try it and see).
783 <option>diskiograph_write</option>
785 <option>(device) (height),(width) (gradient colour 1)
786 (gradient colour 2) (scale) (-t) (-l)</option>
788 <listitem>Disk IO graph for writes, colours defined in hex,
789 minus the #. If scale is non-zero, it becomes the scale for
790 the graph. Device as in diskio. Uses a logarithmic scale
791 (to see small numbers) when you use -l switch. Takes the
792 switch '-t' to use a temperature gradient, which makes the
793 gradient values change depending on the amplitude of a
794 particular graph value (try it and see).
800 <option>downspeed</option>
802 <option>(net)</option>
804 <listitem>Download speed in suitable IEC units
810 <option>downspeedf</option>
812 <option>(net)</option>
814 <listitem>Download speed in KiB with one decimal
820 <option>downspeedgraph</option>
822 <option>(netdev) (height),(width) (gradient colour 1)
823 (gradient colour 2) (scale) (-t) (-l)</option>
825 <listitem>Download speed graph, colours defined in hex,
826 minus the #. If scale is non-zero, it becomes the scale for
827 the graph. Uses a logarithmic scale (to see small numbers)
828 when you use -l switch. Takes the switch '-t' to use a
829 temperature gradient, which makes the gradient values
830 change depending on the amplitude of a particular graph
831 value (try it and see).
837 <option>draft_mails</option>
839 <option>(maildir)</option>
840 <option>(interval)</option>
842 <listitem>Number of mails marked as draft in the specified
843 mailbox or mail spool if not. Only maildir type mailboxes
844 are supported, mbox type will return -1.
850 <option>else</option>
853 <listitem>Text to show if any of the above are not true
859 <option>endif</option>
863 <listitem>Ends an $if block.
869 <option>entropy_avail</option>
872 <listitem>Current entropy available for crypto freaks
878 <option>entropy_bar</option>
880 <option>(height),(width)</option>
882 <listitem>Normalized bar of available entropy for crypto
889 <option>entropy_perc</option>
892 <listitem>Percentage of entropy available in comparison to
899 <option>entropy_poolsize</option>
902 <listitem>Total size of system entropy pool for crypto
909 <option>eval</option>
911 <option>string</option>
913 <listitem>Evalutates given string according to the rules of
914 TEXT interpretation, i.e. parsing any contained text object
915 specifications into their output, any occuring '$$' into a
916 single '$' and so on. The output is then being parsed
925 <option>api_userid api_key character_id</option>
927 <listitem>Fetches your currently training skill from the
928 Eve Online API servers (http://www.eve-online.com/) and
929 displays the skill along with the remaining training time.
935 <option>exec</option>
937 <option>command</option>
939 <listitem>Executes a shell command and displays the output
940 in conky. warning: this takes a lot more resources than
941 other variables. I'd recommend coding wanted behaviour in C
948 <option>execbar</option>
950 <option>command</option>
952 <listitem>Same as exec, except if the first value return is
953 a value between 0-100, it will use that number for a bar.
954 The size for bars can be controlled via the
955 default_bar_size config setting.
961 <option>execgauge</option>
963 <option>command</option>
965 <listitem>Same as exec, except if the first value returned
966 is a value between 0-100, it will use that number for a
967 gauge. The size for gauges can be controlled via the
968 default_gauge_size config setting.
974 <option>execgraph</option>
976 <option>(-t) (-l) command</option>
978 <listitem>Same as execbar, but graphs values. Uses a
979 logaritmic scale when the log option (-l switch) is given
980 (to see small numbers). Values still have to be between 0
981 and 100. The size for graphs can be controlled via the
982 default_graph_size config setting. Takes the switch '-t' to
983 use a temperature gradient, which makes the gradient values
984 change depending on the amplitude of a particular graph
985 value (try it and see). If -t or -l is your first argument,
986 you may need to preceed it by a space (' ').
992 <option>execi</option>
994 <option>interval command</option>
996 <listitem>Same as exec but with specific interval. Interval
997 can't be less than update_interval in configuration. See
1004 <option>execibar</option>
1006 <option>interval command</option>
1008 <listitem>Same as execbar, except with an interval
1014 <option>execigauge</option>
1016 <option>interval command</option>
1018 <listitem>Same as execgauge, but takes an interval arg and
1025 <option>execigraph</option>
1027 <option>interval (-t) (-l) command</option>
1029 <listitem>Same as execgraph, but takes an interval arg and
1030 graphs values. If -t or -l is your first argument, you may
1031 need to preceed it by a space (' ').
1037 <option>execp</option>
1039 <option>command</option>
1041 <listitem>Executes a shell command and displays the output
1042 in conky. warning: this takes a lot more resources than
1043 other variables. I'd recommend coding wanted behaviour in C
1044 and posting a patch. This differs from $exec in that it
1045 parses the output of the command, so you can insert things
1046 like ${color red}hi!${color} in your script and have it
1047 correctly parsed by Conky. Caveats: Conky parses and
1048 evaluates the output of $execp every time Conky loops, and
1049 then destroys all the objects. If you try to use anything
1050 like $execi within an $execp statement, it will
1051 functionally run at the same interval that the $execp
1052 statement runs, as it is created and destroyed at every
1059 <option>execpi</option>
1061 <option>interval command</option>
1063 <listitem>Same as execp but with specific interval.
1064 Interval can't be less than update_interval in
1065 configuration. Note that the output from the $execpi
1066 command is still parsed and evaluated at every interval.
1072 <option>flagged_mails</option>
1074 <option>(maildir)</option>
1075 <option>(interval)</option>
1077 <listitem>Number of mails marked as flagged in the
1078 specified mailbox or mail spool if not. Only maildir type
1079 mailboxes are supported, mbox type will return -1.
1085 <option>font</option>
1087 <option>(font)</option>
1089 <listitem>Specify a different font. This new font will
1090 apply to the current line and everything following. You can
1091 use a $font with no arguments to change back to the default
1092 font (much like with $color)
1098 <option>forwarded_mails</option>
1100 <option>(maildir)</option>
1101 <option>(interval)</option>
1103 <listitem>Number of mails marked as forwarded in the
1104 specified mailbox or mail spool if not. Only maildir type
1105 mailboxes are supported, mbox type will return -1.
1111 <option>freq</option>
1113 <option>(n)</option>
1115 <listitem>Returns CPU #n's frequency in MHz. CPUs are
1116 counted from 1. If omitted, the parameter defaults to 1.
1122 <option>freq_g</option>
1124 <option>(n)</option>
1126 <listitem>Returns CPU #n's frequency in GHz. CPUs are
1127 counted from 1. If omitted, the parameter defaults to 1.
1133 <option>fs_bar</option>
1135 <option>(height),(width) fs</option>
1137 <listitem>Bar that shows how much space is used on a file
1138 system. height is the height in pixels. fs is any file on
1145 <option>fs_bar_free</option>
1147 <option>(height),(width) fs</option>
1149 <listitem>Bar that shows how much space is free on a file
1150 system. height is the height in pixels. fs is any file on
1157 <option>fs_free</option>
1159 <option>(fs)</option>
1161 <listitem>Free space on a file system available for users.
1167 <option>fs_free_perc</option>
1169 <option>(fs)</option>
1171 <listitem>Free percentage of space on a file system
1172 available for users.
1178 <option>fs_size</option>
1180 <option>(fs)</option>
1182 <listitem>File system size.
1188 <option>fs_type</option>
1190 <option>(fs)</option>
1192 <listitem>File system type.
1198 <option>fs_used</option>
1200 <option>(fs)</option>
1202 <listitem>File system used space.
1208 <option>fs_used_perc</option>
1210 <option>(fs)</option>
1212 <listitem>Percent of file system used space.
1218 <option>goto</option>
1222 <listitem>The next element will be printed at position 'x'.
1229 <option>gw_iface</option>
1232 <listitem>Displays the default route's interface or
1233 "multiple"/"none" accordingly.
1239 <option>gw_ip</option>
1242 <listitem>Displays the default gateway's IP or
1243 "multiple"/"none" accordingly.
1249 <option>hddtemp</option>
1251 <option>dev, (host,(port))</option>
1253 <listitem>Displays temperature of a selected hard disk
1254 drive as reported by the hddtemp daemon running on
1255 host:port. Default host is 127.0.0.1, default port is 7634.
1262 <option>head</option>
1264 <option>logfile lines (next_check)</option>
1266 <listitem>Displays first N lines of supplied text file. The
1267 file is checked every 'next_check' update. If next_check is
1268 not supplied, Conky defaults to 2. Max of 30 lines can be
1269 displayed, or until the text buffer is filled.
1277 <option>(height)</option>
1279 <listitem>Horizontal line, height is the height in pixels
1285 <option>hwmon</option>
1287 <option>(dev) type n (factor offset)</option>
1289 <listitem>Hwmon sensor from sysfs (Linux 2.6). Parameter
1290 dev may be omitted if you have only one hwmon device.
1291 Parameter type is either 'in' or 'vol' meaning voltage;
1292 'fan' meaning fan; 'temp' meaning temperature. Parameter n
1293 is number of the sensor. See /sys/class/hwmon/ on your
1294 local computer. The optional arguments 'factor' and
1295 'offset' allow precalculation of the raw input, which is
1296 being modified as follows: 'input = input * factor +
1297 offset'. Note that they have to be given as decimal values
1298 (i.e. contain at least one decimal place).
1304 <option>i2c</option>
1306 <option>(dev) type n (factor offset)</option>
1308 <listitem>I2C sensor from sysfs (Linux 2.6). Parameter dev
1309 may be omitted if you have only one I2C device. Parameter
1310 type is either 'in' or 'vol' meaning voltage; 'fan' meaning
1311 fan; 'temp' meaning temperature. Parameter n is number of
1312 the sensor. See /sys/bus/i2c/devices/ on your local
1313 computer. The optional arguments 'factor' and 'offset'
1314 allow precalculation of the raw input, which is being
1315 modified as follows: 'input = input * factor + offset'.
1316 Note that they have to be given as decimal values (i.e.
1317 contain at least one decimal place).
1323 <option>i8k_ac_status</option>
1327 <listitem>If running the i8k kernel driver for Inspiron
1328 laptops, displays whether ac power is on, as listed in
1329 /proc/i8k (translated to human-readable). Beware that this
1330 is by default not enabled by i8k itself.
1336 <option>i8k_bios</option>
1340 <listitem>If running the i8k kernel driver for Inspiron
1341 laptops, displays the bios version as listed in /proc/i8k.
1347 <option>i8k_buttons_status</option>
1351 <listitem>If running the i8k kernel driver for Inspiron
1352 laptops, displays the volume buttons status as listed in
1359 <option>i8k_cpu_temp</option>
1363 <listitem>If running the i8k kernel driver for Inspiron
1364 laptops, displays the cpu temperature in Celsius, as
1365 reported by /proc/i8k.
1371 <option>i8k_left_fan_rpm</option>
1375 <listitem>If running the i8k kernel driver for Inspiron
1376 laptops, displays the left fan's rate of rotation, in
1377 revolutions per minute as listed in /proc/i8k. Beware, some
1378 laptops i8k reports these fans in reverse order.
1384 <option>i8k_left_fan_status</option>
1388 <listitem>If running the i8k kernel driver for Inspiron
1389 laptops, displays the left fan status as listed in
1390 /proc/i8k (translated to human-readable). Beware, some
1391 laptops i8k reports these fans in reverse order.
1397 <option>i8k_right_fan_rpm</option>
1401 <listitem>If running the i8k kernel driver for Inspiron
1402 laptops, displays the right fan's rate of rotation, in
1403 revolutions per minute as listed in /proc/i8k. Beware, some
1404 laptops i8k reports these fans in reverse order.
1410 <option>i8k_right_fan_status</option>
1414 <listitem>If running the i8k kernel driver for Inspiron
1415 laptops, displays the right fan status as listed in
1416 /proc/i8k (translated to human-readable). Beware, some
1417 laptops i8k reports these fans in reverse order.
1423 <option>i8k_serial</option>
1427 <listitem>If running the i8k kernel driver for Inspiron
1428 laptops, displays your laptop serial number as listed in
1435 <option>i8k_version</option>
1439 <listitem>If running the i8k kernel driver for Inspiron
1440 laptops, displays the version formatting of /proc/i8k.
1446 <option>ibm_brightness</option>
1449 <listitem>If running the IBM ACPI, displays the brigtness
1450 of the laptops's LCD (0-7).
1456 <option>ibm_fan</option>
1459 <listitem>If running the IBM ACPI, displays the fan speed.
1465 <option>ibm_temps</option>
1469 <listitem>If running the IBM ACPI, displays the
1470 temperatures from the IBM temperature sensors (N=0..7)
1471 Sensor 0 is on the CPU, 3 is on the GPU.
1477 <option>ibm_volume</option>
1480 <listitem>If running the IBM ACPI, displays the "master"
1481 volume, controlled by the volume keys (0-14).
1487 <option>iconv_start</option>
1489 <option>codeset_from codeset_to</option>
1491 <listitem>Convert text from one codeset to another using
1492 GNU iconv. Needs to be stopped with iconv_stop.
1498 <option>iconv_stop</option>
1502 <listitem>Stop iconv codeset conversion.
1508 <option>if_empty</option>
1510 <option>(var)</option>
1512 <listitem>if conky variable VAR is empty, display
1513 everything between $if_empty and the matching $endif
1519 <option>if_existing</option>
1521 <option>file (string)</option>
1523 <listitem>if FILE exists, display everything between
1524 if_existing and the matching $endif. The optional second
1525 paramater checks for FILE containing the specified string
1526 and prints everything between $if_existing and the matching
1533 <option>if_gw</option>
1536 <listitem>if there is at least one default gateway, display
1537 everything between $if_gw and the matching $endif
1543 <option>if_match</option>
1545 <option>expression</option>
1547 <listitem>Evaluates the given boolean expression, printing
1548 everything between $if_match and the matching $endif
1549 depending on whether the evaluation returns true or not.
1550 Valid expressions consist of a left side, an operator and a
1551 right side. Left and right sides are being parsed for
1552 contained text objects before evaluation. Recognised left
1553 and right side types are:
1556 <command>double</command>Argument consists of only
1557 digits and a single dot.</member>
1559 <command>long</command>Argument consists of only
1562 <command>string</command>Argument is enclosed in
1563 quotation mark or the checks for double and long failed
1565 </simplelist>Valid operands are: '>', '<', '>=',
1566 '<=', '==', '!='.
1572 <option>if_mixer_mute</option>
1574 <option>(mixer)</option>
1576 <listitem>If mixer exists, display everything between
1577 $if_mixer_mute and the matching $endif. If no mixer is
1578 specified, "Master" is used.
1584 <option>if_mounted</option>
1586 <option>(mountpoint)</option>
1588 <listitem>if MOUNTPOINT is mounted, display everything
1589 between $if_mounted and the matching $endif
1595 <option>if_mpd_playing</option>
1598 <listitem>if mpd is playing or paused, display everything
1599 between $if_mpd_playing and the matching $endif
1605 <option>if_running</option>
1607 <option>(process)</option>
1609 <listitem>if PROCESS is running, display everything
1610 $if_running and the matching $endif. This uses the
1611 ``pidof'' command, so the -x switch is also supported.
1617 <option>if_smapi_bat_installed</option>
1619 <option>(INDEX)</option>
1621 <listitem>when using smapi, if the battery with index INDEX
1622 is installed, display everything between
1623 $if_smapi_bat_installed and the matching $endif
1629 <option>if_up</option>
1631 <option>(interface)</option>
1633 <listitem>if INTERFACE exists and is up, display everything
1634 between $if_up and the matching $endif
1640 <option>if_updatenr</option>
1642 <option>(updatenr)</option>
1644 <listitem>If it's the UPDATENR-th time that conky updates,
1645 display everything between $if_updatenr and the matching
1646 $endif. The counter resets when the highest UPDATENR is
1647 reached. Example : "{$if_updatenr 1}foo$endif{$if_updatenr
1648 2}bar$endif{$if_updatenr 4}$endif" shows foo 25% of the
1649 time followed by bar 25% of the time followed by nothing
1650 the other half of the time.
1656 <option>if_xmms2_connected</option>
1659 <listitem>Display everything between $if_xmms2_connected
1660 and the matching $endif if xmms2 is running.
1666 <option>image</option>
1668 <option><path to image> (-p x,y) (-s WxH) (-n)
1669 (-f interval)</option>
1671 <listitem>Renders an image from the path specified using
1672 Imlib2. Takes 4 optional arguments: a position, a size, a
1673 no-cache switch, and a cache flush interval. Changing the
1674 x,y position will move the position of the image, and
1675 changing the WxH will scale the image. If you specify the
1676 no-cache flag (-n), the image will not be cached.
1677 Alternately, you can specify the -f int switch to specify a
1678 cache flust interval for a particular image. Example:
1679 ${image /home/brenden/cheeseburger.jpg -p 20,20 -s 200x200}
1680 will render 'cheeseburger.jpg' at (20,20) scaled to 200x200
1681 pixels. Conky does not make any attempt to adjust the
1682 position (or any other formatting) of images, they are just
1683 rendered as per the arguments passed. The only reason
1684 $image is part of the TEXT section, is to allow for runtime
1685 modifications, through $execp $lua_parse, or some other
1692 <option>imap_messages</option>
1694 <option>(args)</option>
1696 <listitem>Displays the number of messages in your global
1697 IMAP inbox by default. You can define individual IMAP
1698 inboxes seperately by passing arguments to this object.
1699 Arguments are: "host user pass [-i interval (in seconds)]
1700 [-f folder] [-p port] [-e command] [-r retries]". Default
1701 port is 143, default folder is 'INBOX', default interval is
1702 5 minutes, and default number of retries before giving up
1703 is 5. If the password is supplied as '*', you will be
1704 prompted to enter the password when Conky starts.
1710 <option>imap_unseen</option>
1712 <option>(args)</option>
1714 <listitem>Displays the number of unseen messages in your
1715 global IMAP inbox by default. You can define individual
1716 IMAP inboxes seperately by passing arguments to this
1717 object. Arguments are: "host user pass [-i interval (in
1718 seconds)] [-f folder] [-p port] [-e command] [-r retries]".
1719 Default port is 143, default folder is 'INBOX', default
1720 interval is 5 minutes, and default number of retries before
1721 giving up is 5. If the password is supplied as '*', you
1722 will be prompted to enter the password when Conky starts.
1728 <option>include</option>
1730 <option>path</option>
1733 <para>Loads the configfile at path, places the
1734 configsettings behind the configsettings in the orginal
1735 config and places the vars where the includevar
1742 <option>ioscheduler</option>
1744 <option>disk</option>
1746 <listitem>Prints the current ioscheduler used for the given
1747 disk name (i.e. e.g. "hda" or "sdb")
1753 <option>kernel</option>
1756 <listitem>Kernel version
1762 <option>laptop_mode</option>
1765 <listitem>The value of /proc/sys/vm/laptop_mode
1771 <option>lines</option>
1773 <option>textfile</option>
1775 <listitem>Displays the number of lines in the given file
1781 <option>loadavg</option>
1783 <option>(1|2|3)</option>
1785 <listitem>System load average, 1 is for past 1 minute, 2
1786 for past 5 minutes and 3 for past 15 minutes.
1792 <option>loadgraph</option>
1794 <option>(1|2|3) (height),(width) (gradient colour 1)
1795 (gradient colour 2) (scale) (-t) (-l)</option>
1797 <listitem>Load1 average graph, similar to xload, with
1798 optional colours in hex, minus the #. Uses a logarithmic
1799 scale (to see small numbers) when you use the -l switch.
1800 Takes the switch '-t' to use a temperature gradient, which
1801 makes the gradient values change depending on the amplitude
1802 of a particular graph value (try it and see).
1808 <option>lua</option>
1810 <option>function_name (function parameters)</option>
1812 <listitem>Executes a Lua function with given parameters,
1813 then prints the returned string. See also 'lua_load' on how
1814 to load scripts. Conky puts 'conky_' in front of
1815 function_name to prevent accidental calls to the wrong
1816 function unless you put you place 'conky_' in front of it
1823 <option>lua_bar</option>
1825 <option>(height, width) function_name (function
1826 parameters)</option>
1828 <listitem>Executes a Lua function with given parameters and
1829 draws a bar. Expects result value to be an integer between
1830 0 and 100. See also 'lua_load' on how to load scripts.
1831 Conky puts 'conky_' in front of function_name to prevent
1832 accidental calls to the wrong function unless you put you
1833 place 'conky_' in front of it yourself.
1839 <option>lua_gauge</option>
1841 <option>(height, width) function_name (function
1842 parameters)</option>
1844 <listitem>Executes a Lua function with given parameters and
1845 draws a gauge. Expects result value to be an integer
1846 between 0 and 100. See also 'lua_load' on how to load
1847 scripts. Conky puts 'conky_' in front of function_name to
1848 prevent accidental calls to the wrong function unless you
1849 put you place 'conky_' in front of it yourself.
1855 <option>lua_graph</option>
1857 <option>function_name (height),(width) (gradient colour
1858 1) (gradient colour 2) (scale) (-t) (-l)</option>
1860 <listitem>Executes a Lua function with and draws a graph.
1861 Expects result value to be any number, and by default will
1862 scale to show the full range. See also 'lua_load' on how to
1863 load scripts. Takes the switch '-t' to use a temperature
1864 gradient, which makes the gradient values change depending
1865 on the amplitude of a particular graph value (try it and
1866 see). Conky puts 'conky_' in front of function_name to
1867 prevent accidental calls to the wrong function unless you
1868 put you place 'conky_' in front of it yourself.
1874 <option>lua_parse</option>
1876 <option>function_name (function parameters)</option>
1878 <listitem>Executes a Lua function with given parameters as
1879 per $lua, then parses and prints the result value as per
1880 the syntax for Conky's TEXT section. See also 'lua_load' on
1881 how to load scripts. Conky puts 'conky_' in front of
1882 function_name to prevent accidental calls to the wrong
1883 function unless you put you place 'conky_' in front of it
1890 <option>machine</option>
1893 <listitem>Machine, i686 for example
1899 <option>mails</option>
1901 <option>(mailbox)</option>
1902 <option>(interval)</option>
1904 <listitem>Mail count in the specified mailbox or your mail
1905 spool if not. Both mbox and maildir type mailboxes are
1906 supported. You can use a program like fetchmail to get
1907 mails from some server using your favourite protocol. See
1914 <option>mboxscan</option>
1916 <option>(-n number of messages to print) (-fw from
1917 width) (-sw subject width) mbox</option>
1919 <listitem>Print a summary of recent messages in an mbox
1920 format mailbox. mbox parameter is the filename of the
1921 mailbox (can be encapsulated using '"', ie. ${mboxscan -n
1922 10 "/home/brenden/some box"}
1928 <option>mem</option>
1931 <listitem>Amount of memory in use
1937 <option>membar</option>
1939 <option>(height),(width)</option>
1941 <listitem>Bar that shows amount of memory in use
1947 <option>memeasyfree</option>
1950 <listitem>Amount of free memory including the memory that
1951 is very easily freed (buffers/cache)
1957 <option>memfree</option>
1960 <listitem>Amount of free memory
1966 <option>memgauge</option>
1968 <option>(height),(width)</option>
1970 <listitem>Gauge that shows amount of memory in use (see
1977 <option>memgraph</option>
1979 <option>(height),(width) (gradient colour 1) (gradient
1980 colour 2) (scale) (-t) (-l)</option>
1982 <listitem>Memory usage graph. Uses a logarithmic scale (to
1983 see small numbers) when you use the -l switch. Takes the
1984 switch '-t' to use a temperature gradient, which makes the
1985 gradient values change depending on the amplitude of a
1986 particular graph value (try it and see).
1992 <option>memmax</option>
1995 <listitem>Total amount of memory
2001 <option>memperc</option>
2004 <listitem>Percentage of memory in use
2010 <option>mixer</option>
2012 <option>(device)</option>
2014 <listitem>Prints the mixer value as reported by the OS.
2015 Default mixer is "vol", but you can specify one of the
2016 following optional arguments: "vol", "bass", "treble",
2017 "synth", "pcm", "speaker", "line", "mic", "cd", "mix",
2018 "pcm2", "rec", "igain", "ogain", "line1", "line2", "line3",
2019 "dig1", "dig2", "dig3", "phin", "phout", "video", "radio",
2020 "monitor". Refer to the definition of SOUND_DEVICE_NAMES in
2021 <linux/soundcard.h> (on Linux), <soundcard.h>
2022 (on OpenBSD), or <sys/soundcard.h> to find the exact
2023 options available on your system.
2029 <option>mixerbar</option>
2031 <option>(device)</option>
2033 <listitem>Displays mixer value in a bar as reported by the
2034 OS. See docs for $mixer for details on arguments.
2040 <option>mixerl</option>
2042 <option>(device)</option>
2044 <listitem>Prints the left channel mixer value as reported
2045 by the OS. See docs for $mixer for details on arguments.
2051 <option>mixerlbar</option>
2053 <option>(device)</option>
2055 <listitem>Displays the left channel mixer value in a bar as
2056 reported by the OS. See docs for $mixer for details on
2063 <option>mixerr</option>
2065 <option>(device)</option>
2067 <listitem>Prints the right channel mixer value as reported
2068 by the OS. See docs for $mixer for details on arguments.
2074 <option>mixerrbar</option>
2076 <option>(device)</option>
2078 <listitem>Displays the right channel mixer value in a bar
2079 as reported by the OS. See docs for $mixer for details on
2086 <option>moc_album</option>
2089 <listitem>Album of the current MOC song
2095 <option>moc_artist</option>
2098 <listitem>Artist of the current MOC song
2104 <option>moc_bitrate</option>
2107 <listitem>Bitrate in the current MOC song
2113 <option>moc_curtime</option>
2116 <listitem>Current time of the current MOC song
2122 <option>moc_file</option>
2125 <listitem>File name of the current MOC song
2131 <option>moc_rate</option>
2134 <listitem>Rate of the current MOC song
2140 <option>moc_song</option>
2143 <listitem>The current song name being played in MOC.
2149 <option>moc_state</option>
2152 <listitem>Current state of MOC; playing, stopped etc.
2158 <option>moc_timeleft</option>
2161 <listitem>Time left in the current MOC song
2167 <option>moc_title</option>
2170 <listitem>Title of the current MOC song
2176 <option>moc_totaltime</option>
2179 <listitem>Total length of the current MOC song
2185 <option>monitor</option>
2188 <listitem>Number of the monitor on which conky is running
2189 or the message "Not running in X" if this is the case.
2195 <option>monitor_number</option>
2198 <listitem>Number of monitors or the message "Not running in
2199 X" if this is the case.
2205 <option>mpd_album</option>
2208 <listitem>Album in current MPD song
2214 <option>mpd_artist</option>
2217 <listitem>Artist in current MPD song must be enabled at
2224 <option>mpd_bar</option>
2226 <option>(height),(width)</option>
2228 <listitem>Bar of mpd's progress
2234 <option>mpd_bitrate</option>
2237 <listitem>Bitrate of current song
2243 <option>mpd_elapsed</option>
2246 <listitem>Song's elapsed time
2252 <option>mpd_file</option>
2255 <listitem>Prints the file name of the current MPD song
2261 <option>mpd_length</option>
2264 <listitem>Song's length
2270 <option>mpd_name</option>
2273 <listitem>Prints the MPD name field
2279 <option>mpd_percent</option>
2282 <listitem>Percent of song's progress
2288 <option>mpd_random</option>
2291 <listitem>Random status (On/Off)
2297 <option>mpd_repeat</option>
2300 <listitem>Repeat status (On/Off)
2306 <option>mpd_smart</option>
2308 <option>(max length)</option>
2310 <listitem>Prints the song name in either the form "artist -
2311 title" or file name, depending on whats available
2317 <option>mpd_status</option>
2320 <listitem>Playing, stopped, et cetera.
2326 <option>mpd_title</option>
2328 <option>(max length)</option>
2330 <listitem>Title of current MPD song
2336 <option>mpd_track</option>
2339 <listitem>Prints the MPD track field
2345 <option>mpd_vol</option>
2348 <listitem>MPD's volume
2354 <option>nameserver</option>
2356 <option>(index)</option>
2358 <listitem>Print a nameserver from /etc/resolv.conf. Index
2359 starts at and defaults to 0.
2365 <option>new_mails</option>
2367 <option>(mailbox)</option>
2368 <option>(interval)</option>
2370 <listitem>Unread mail count in the specified mailbox or
2371 mail spool if not. Both mbox and maildir type mailboxes are
2378 <option>nodename</option>
2387 <option>nvidia</option>
2389 <option>threshold</option>
2390 <option>temp</option>
2391 <option>ambient</option>
2392 <option>gpufreq</option>
2393 <option>memfreq</option>
2394 <option>imagequality</option>
2396 <listitem>Nvidia graficcard support for the XNVCtrl
2397 library. Each option can be shortened to the least
2398 significant part. Temperatures are printed as float, all
2399 other values as integer.
2402 <command>threshold</command>The thresholdtemperature at
2403 which the gpu slows down</member>
2405 <command>temp</command>Tives the gpu current
2406 temperature</member>
2408 <command>ambient</command>
2409 <option>Gives current air temperature near GPU
2413 <command>gpufreq</command>
2414 <option>Gives the current gpu frequency</option>
2417 <command>memfreq</command>
2418 <option>Gives the current mem frequency</option>
2421 <command>imagequality</command>
2422 <option>Which imagequality should be choosen by
2423 OpenGL applications</option>
2431 <option>offset</option>
2433 <option>(pixels)</option>
2435 <listitem>Move text over by N pixels. See also $voffset.
2441 <option>outlinecolor</option>
2443 <option>(color)</option>
2445 <listitem>Change outline color
2451 <option>pb_battery</option>
2453 <option>item</option>
2455 <listitem>If running on Apple powerbook/ibook, display
2456 information on battery status. The item parameter
2457 specifies, what information to display. Exactly one item
2458 must be specified. Valid items are:
2461 <command>status</command>
2462 <option>Display if battery is fully charged,
2463 charging, discharging or absent (running on
2467 <command>percent</command>
2468 <option>Display charge of battery in percent, if
2469 charging or discharging. Nothing will be displayed,
2470 if battery is fully charged or absent.</option>
2473 <command>time</command>
2474 <option>Display the time remaining until the
2475 battery will be fully charged or discharged at
2476 current rate. Nothing is displayed, if battery is
2477 absent or if it's present but fully charged and not
2478 discharging.</option>
2486 <option>platform</option>
2488 <option>(dev) type n (factor offset)</option>
2490 <listitem>Platform sensor from sysfs (Linux 2.6). Parameter
2491 dev may be omitted if you have only one platform device.
2492 Platform type is either 'in' or 'vol' meaning voltage;
2493 'fan' meaning fan; 'temp' meaning temperature. Parameter n
2494 is number of the sensor. See /sys/bus/platform/devices/ on
2495 your local computer. The optional arguments 'factor' and
2496 'offset' allow precalculation of the raw input, which is
2497 being modified as follows: 'input = input * factor +
2498 offset'. Note that they have to be given as decimal values
2499 (i.e. contain at least one decimal place).
2505 <option>pop3_unseen</option>
2507 <option>(args)</option>
2509 <listitem>Displays the number of unseen messages in your
2510 global POP3 inbox by default. You can define individual
2511 POP3 inboxes seperately by passing arguments to this
2512 object. Arguments are: "host user pass [-i interval (in
2513 seconds)] [-p port] [-e command] [-r retries]". Default
2514 port is 110, default interval is 5 minutes, and default
2515 number of retries before giving up is 5. If the password is
2516 supplied as '*', you will be prompted to enter the password
2523 <option>pop3_used</option>
2525 <option>(args)</option>
2527 <listitem>Displays the amount of space (in MiB, 2^20) used
2528 in your global POP3 inbox by default. You can define
2529 individual POP3 inboxes seperately by passing arguments to
2530 this object. Arguments are: "host user pass [-i interval
2531 (in seconds)] [-p port] [-e command] [-r retries]". Default
2532 port is 110, default interval is 5 minutes, and default
2533 number of retries before giving up is 5. If the password is
2534 supplied as '*', you will be prompted to enter the password
2541 <option>pre_exec</option>
2543 <option>shell command</option>
2545 <listitem>Executes a shell command one time before conky
2546 displays anything and puts output as text.
2552 <option>processes</option>
2555 <listitem>Total processes (sleeping and running)
2561 <option>read_tcp</option>
2563 <option>(host) port</option>
2565 <listitem>Connects to a tcp port on a host (default is
2566 localhost), reads every char available at the moment and
2573 <option>replied_mails</option>
2575 <option>(maildir)</option>
2576 <option>(interval)</option>
2578 <listitem>Number of mails marked as replied in the
2579 specified mailbox or mail spool if not. Only maildir type
2580 mailboxes are supported, mbox type will return -1.
2586 <option>rss</option>
2588 <option>uri interval_in_minutes action (num_par
2589 (spaces_in_front))</option>
2592 <para>Download and parse RSS feeds. The interval may be
2593 a floating point value greater than 0, otherwise
2594 defaults to 15 minutes. Action may be one of the
2595 following: feed_title, item_title (with num par),
2596 item_desc (with num par) and item_titles (when using
2597 this action and spaces_in_front is given conky places
2598 that many spaces in front of each item). This object is
2599 threaded, and once a thread is created it can't be
2600 explicitely destroyed. One thread will run for each URI
2601 specified. You can use any protocol that Curl
2608 <option>running_processes</option>
2611 <listitem>Running processes (not sleeping), requires Linux
2618 <option>scroll</option>
2620 <option>length (step) text</option>
2622 <listitem>Scroll 'text' by 'step' characters showing
2623 'length' number of characters at the same time. The text
2624 may also contain variables. 'step' is optional and defaults
2625 to 1 if not set. If a var creates output on multiple lines
2626 then the lines are placed behind each other separated with
2627 a '|'-sign. If you change the textcolor inside $scroll it
2628 will automatically have it's old value back at the end of
2629 $scroll. The end and the start of text will be seperated by
2630 'length' number of spaces.
2636 <option>seen_mails</option>
2638 <option>(maildir)</option>
2639 <option>(interval)</option>
2641 <listitem>Number of mails marked as seen in the specified
2642 mailbox or mail spool if not. Only maildir type mailboxes
2643 are supported, mbox type will return -1.
2649 <option>shadecolor</option>
2651 <option>(color)</option>
2653 <listitem>Change shading color
2659 <option>smapi</option>
2661 <option>(ARGS)</option>
2663 <listitem>when using smapi, display contents of the
2664 /sys/devices/platform/smapi directory. ARGS are either
2665 '(FILENAME)' or 'bat (INDEX) (FILENAME)' to display the
2666 corresponding files' content. This is a very raw method of
2667 accessing the smapi values. When available, better use one
2668 of the smapi_* variables instead.
2674 <option>smapi_bat_bar</option>
2676 <option>(INDEX),(height),(width)</option>
2678 <listitem>when using smapi, display the remaining capacity
2679 of the battery with index INDEX as a bar.
2685 <option>smapi_bat_perc</option>
2687 <option>(INDEX)</option>
2689 <listitem>when using smapi, display the remaining capacity
2690 in percent of the battery with index INDEX. This is a
2691 separate variable because it supports the 'use_spacer'
2692 configuration option.
2698 <option>smapi_bat_power</option>
2700 <option>INDEX</option>
2702 <listitem>when using smapi, display the current power of
2703 the battery with index INDEX in watt. This is a separate
2704 variable because the original read out value is being
2705 converted from mW. The sign of the output reflects charging
2706 (positive) or discharging (negative) state.
2712 <option>smapi_bat_temp</option>
2714 <option>INDEX</option>
2716 <listitem>when using smapi, display the current temperature
2717 of the battery with index INDEX in degree Celsius. This is
2718 a separate variable because the original read out value is
2719 being converted from milli degree Celsius.
2725 <option>sony_fanspeed</option>
2728 <listitem>Displays the Sony VAIO fanspeed information if
2729 sony-laptop kernel support is enabled. Linux only.
2735 <option>stippled_hr</option>
2737 <option>(space)</option>
2739 <listitem>Stippled (dashed) horizontal line
2745 <option>swap</option>
2748 <listitem>Amount of swap in use
2754 <option>swapbar</option>
2756 <option>(height),(width)</option>
2758 <listitem>Bar that shows amount of swap in use
2764 <option>swapfree</option>
2767 <listitem>Amount of free swap
2773 <option>swapmax</option>
2776 <listitem>Total amount of swap
2782 <option>swapperc</option>
2785 <listitem>Percentage of swap in use
2791 <option>sysname</option>
2794 <listitem>System name, Linux for example
2800 <option>tab</option>
2802 <option>(width, (start))</option>
2804 <listitem>Puts a tab of the specified width, starting from
2805 column 'start'. The unit is pixels for both arguments.
2811 <option>tail</option>
2813 <option>logfile lines (next_check)</option>
2815 <listitem>Displays last N lines of supplied text file. The
2816 file is checked every 'next_check' update. If next_check is
2817 not supplied, Conky defaults to 2. Max of 30 lines can be
2818 displayed, or until the text buffer is filled.
2824 <option>tcp_portmon</option>
2826 <option>port_begin port_end item (index)</option>
2827 <emphasis>(ip4 only at present)</emphasis>
2830 <para>TCP port monitor for specified local ports. Port
2831 numbers must be in the range 1 to 65535. Valid items
2835 <command>count</command>
2836 <option>Total number of connections in the
2840 <command>rip</command>
2841 <option>Remote ip address</option>
2844 <command>rhost</command>
2845 <option>Remote host name</option>
2848 <command>rport</command>
2849 <option>Remote port number</option>
2852 <command>rservice</command>
2853 <option>Remote service name from
2854 /etc/services</option>
2857 <command>lip</command>
2858 <option>Local ip address</option>
2861 <command>lhost</command>
2862 <option>Local host name</option>
2865 <command>lport</command>
2866 <option>Local port number</option>
2869 <command>lservice</command>
2870 <option>Local service name from
2871 /etc/services</option>
2874 <para>The connection index provides you with access to
2875 each connection in the port monitor. The monitor will
2876 return information for index values from 0 to n-1
2877 connections. Values higher than n-1 are simply ignored.
2878 For the "count" item, the connection index must be
2879 omitted. It is required for all other items.</para>
2880 <para>Examples:</para>
2883 <command>${tcp_portmon 6881 6999
2885 <option>Displays the number of connections in
2886 the bittorrent port range</option>
2889 <command>${tcp_portmon 22 22 rip 0}</command>
2890 <option>Displays the remote host ip of the
2891 first sshd connection</option>
2894 <command>${tcp_portmon 22 22 rip 9}</command>
2895 <option>Displays the remote host ip of the
2896 tenth sshd connection</option>
2899 <command>${tcp_portmon 1 1024 rhost
2901 <option>Displays the remote host name of the
2902 first connection on a privileged port</option>
2905 <command>${tcp_portmon 1 1024 rport
2907 <option>Displays the remote host port of the
2908 fifth connection on a privileged port</option>
2911 <command>${tcp_portmon 1 65535 lservice
2913 <option>Displays the local service name of the
2914 fifteenth connection in the range of all
2918 <para>Note that port monitor variables which share the
2919 same port range actually refer to the same monitor, so
2920 many references to a single port range for different
2921 items and different indexes all use the same monitor
2922 internally. In other words, the program avoids creating
2923 redundant monitors.</para>
2929 <option>templateN</option>
2931 <option>(arg1)</option>
2932 <option>(arg2)</option>
2933 <option>(arg3 ...)</option>
2936 <para>Evaluate the content of the templateN
2937 configuration variable (where N is a value between 0
2938 and 9, inclusively), applying substitutions as
2939 described in the documentation of the corresponding
2940 configuration variable. The number of arguments is
2941 optional, but must match the highest referred index in
2942 the template. You can use the same special sequences in
2943 each argument as the ones valid for a template
2944 definition, e.g. to allow an argument to contain a
2945 whitespace. Also simple nesting of templates is
2946 possible this way.</para>
2947 <para>Here are some examples of template
2950 <member>template0 $\1\2</member>
2951 <member>template1 \1: ${fs_used \2} / ${fs_size
2953 <member>template2 \1 \2</member>
2955 <para>The following list shows sample usage of the
2956 templates defined above, with the equivalent syntax
2957 when not using any template at all:</para>
2962 <entry>using template</entry>
2963 <entry>same without template</entry>
2968 <entry>${template0 node name}</entry>
2969 <entry>$nodename</entry>
2972 <entry>${template1 root /}</entry>
2973 <entry>root: ${fs_free /} / ${fs_size
2978 <programlisting>${template1
2979 ${template2\ disk\ root}
2983 <programlisting>disk root:
2984 ${fs_free /} / ${fs_size
2996 <option>texeci</option>
2998 <option>interval command</option>
3000 <listitem>Runs a command at an interval inside a thread and
3001 displays the output. Same as $execi, except the command is
3002 run inside a thread. Use this if you have a slow script to
3003 keep Conky updating. You should make the interval slightly
3004 longer then the time it takes your script to execute. For
3005 example, if you have a script that take 5 seconds to
3006 execute, you should make the interval at least 6 seconds.
3007 See also $execi. This object will clean up the thread when
3008 it is destroyed, so it can safely be used in a nested
3009 fashion, though it may not produce the desired behaviour if
3016 <option>time</option>
3018 <option>(format)</option>
3020 <listitem>Local time, see man strftime to get more
3021 information about format
3027 <option>to_bytes</option>
3029 <option>size</option>
3031 <listitem>If 'size' is a number followed by a size-unit
3032 (kilobyte,mb,GiB,...) then it converts the size to bytes
3033 and shows it without unit, otherwise it just shows 'size'.
3039 <option>top</option>
3041 <option>type, num</option>
3043 <listitem>This takes arguments in the form:top (name)
3044 (number) Basically, processes are ranked from highest to
3045 lowest in terms of cpu usage, which is what (num)
3046 represents. The types are: "name", "pid", "cpu", "mem",
3047 "mem_res", "mem_vsize", "time", "io_perc", "io_read" and
3048 "io_write". There can be a max of 10 processes listed.
3054 <option>top_io</option>
3056 <option>type, num</option>
3058 <listitem>Same as top, except sorted by the amount of I/O
3059 the process has done during the update interval
3065 <option>top_mem</option>
3067 <option>type, num</option>
3069 <listitem>Same as top, except sorted by mem usage instead
3076 <option>top_time</option>
3078 <option>type, num</option>
3080 <listitem>Same as top, except sorted by total CPU time
3081 instead of current CPU usage
3087 <option>totaldown</option>
3089 <option>(net)</option>
3091 <listitem>Total download, overflows at 4 GB on Linux with
3092 32-bit arch and there doesn't seem to be a way to know how
3093 many times it has already done that before conky has
3100 <option>totalup</option>
3102 <option>(net)</option>
3104 <listitem>Total upload, this one too, may overflow
3110 <option>trashed_mails</option>
3112 <option>(maildir)</option>
3113 <option>(interval)</option>
3115 <listitem>Number of mails marked as trashed in the
3116 specified mailbox or mail spool if not. Only maildir type
3117 mailboxes are supported, mbox type will return -1.
3123 <option>tztime</option>
3125 <option>(timezone) (format)</option>
3127 <listitem>Local time for specified timezone, see man
3128 strftime to get more information about format. The timezone
3129 argument is specified in similar fashion as TZ environment
3130 variable. For hints, look in /usr/share/zoneinfo. e.g.
3131 US/Pacific, Europe/Zurich, etc.
3137 <option>unflagged_mails</option>
3139 <option>(maildir)</option>
3140 <option>(interval)</option>
3142 <listitem>Number of mails not marked as flagged in the
3143 specified mailbox or mail spool if not. Only maildir type
3144 mailboxes are supported, mbox type will return -1.
3150 <option>unforwarded_mails</option>
3152 <option>(maildir)</option>
3153 <option>(interval)</option>
3155 <listitem>Number of mails not marked as forwarded in the
3156 specified mailbox or mail spool if not. Only maildir type
3157 mailboxes are supported, mbox type will return -1.
3163 <option>unreplied_mails</option>
3165 <option>(maildir)</option>
3166 <option>(interval)</option>
3168 <listitem>Number of mails not marked as replied in the
3169 specified mailbox or mail spool if not. Only maildir type
3170 mailboxes are supported, mbox type will return -1.
3176 <option>unseen_mails</option>
3178 <option>(maildir)</option>
3179 <option>(interval)</option>
3181 <listitem>Number of new or unseen mails in the specified
3182 mailbox or mail spool if not. Only maildir type mailboxes
3183 are supported, mbox type will return -1.
3189 <option>updates</option>
3191 <option>Number of updates</option>
3193 <listitem>for debugging
3199 <option>upspeed</option>
3201 <option>(net)</option>
3203 <listitem>Upload speed in suitable IEC units
3209 <option>upspeedf</option>
3211 <option>(net)</option>
3213 <listitem>Upload speed in KiB with one decimal
3219 <option>upspeedgraph</option>
3221 <option>(netdev) (height),(width) (gradient colour 1)
3222 (gradient colour 2) (scale) (-t) (-l)</option>
3224 <listitem>Upload speed graph, colours defined in hex, minus
3225 the #. If scale is non-zero, it becomes the scale for the
3226 graph. Uses a logarithmic scale (to see small numbers) when
3227 you use the -l switch. Takes the switch '-t' to use a
3228 temperature gradient, which makes the gradient values
3229 change depending on the amplitude of a particular graph
3230 value (try it and see).
3236 <option>uptime</option>
3245 <option>uptime_short</option>
3248 <listitem>Uptime in a shorter format
3254 <option>user_names</option>
3257 <listitem>Lists the names of the users logged in
3263 <option>user_number</option>
3266 <listitem>Number of users logged in
3272 <option>user_terms</option>
3275 <listitem>Lists the consoles in use
3281 <option>user_times</option>
3284 <listitem>Lists how long users have been logged in for
3290 <option>utime</option>
3292 <option>(format)</option>
3294 <listitem>Display time in UTC (universal coordinate time).
3300 <option>voffset</option>
3302 <option>(pixels)</option>
3304 <listitem>Change vertical offset by N pixels. Negative
3305 values will cause text to overlap. See also $offset.
3311 <option>voltage_mv</option>
3313 <option>(n)</option>
3315 <listitem>Returns CPU #n's voltage in mV. CPUs are counted
3316 from 1. If omitted, the parameter defaults to 1.
3322 <option>voltage_v</option>
3324 <option>(n)</option>
3326 <listitem>Returns CPU #n's voltage in V. CPUs are counted
3327 from 1. If omitted, the parameter defaults to 1.
3333 <option>weather</option>
3335 <option>URI locID data_type
3336 (interval_in_minutes)</option>
3339 <para>Download, parse and display METAR data.</para>
3340 <para>For the 'URI', there are two
3341 possibilities:</para>
3344 http://weather.noaa.gov/pub/data/observations/metar/stations/</member>
3346 http://xoap.weather.com/weather/local/</member>
3348 <para>The first one is free to use but the second
3349 requires you to register and obtain your partner ID and
3350 license key. These two must be written, separated by a
3351 space, into a file called .xoaprc which needs to be
3352 placed into your home directory.</para>
3353 <para>'locID' must be a valid location identifier for
3354 the required uri. For the NOAA site this must be a
3355 valid ICAO (see for instance
3356 https://pilotweb.nas.faa.gov/qryhtml/icao/). For the
3357 weather.com site this must be a valid location ID (see
3359 http://aspnetresources.com/tools/locid.aspx).</para>
3360 <para>'data_type' must be one of the following:</para>
3363 <command>last_update</command>
3364 <option>The date and time stamp of the data.
3365 The result depends on the URI used. For the
3366 NOAA site it is date (yyyy/mm/dd) and UTC time.
3367 For the weather.com one it is date
3368 ([m]m/[d]d/yy) and Local Time of the
3372 <command>temperature</command>
3373 <option>Air temperature (you can use the
3374 'temperature_unit' config setting to change
3378 <command>cloud_cover</command>
3379 <option>The highest cloud cover status</option>
3382 <command>pressure</command>
3383 <option>Air pressure in millibar</option>
3386 <command>wind_speed</command>
3387 <option>Wind speed in km/h</option>
3390 <command>wind_dir</command>
3391 <option>Wind direction</option>
3394 <command>wind_dir_DEG</command>
3395 <option>Compass wind direction</option>
3398 <command>humidity</command>
3399 <option>Relative humidity in %</option>
3402 <command>weather</command>
3403 <option>Any relevant weather event (rain, snow,
3404 etc.). This is not used if you are querying the
3405 weather.com site since this data is aggregated
3406 into the cloud_cover one</option>
3409 <command>icon</command>
3410 <option>Weather icon (only for
3411 www.weather.com). Can be used together with the
3412 icon kit provided upon registering to their
3416 <para>'delay_in_minutes' (optional, default 30) cannot
3417 be lower than 30 min.</para>
3418 <para>This object is threaded, and once a thread is
3419 created it can't be explicitely destroyed. One thread
3420 will run for each URI specified. You can use any
3421 protocol that Curl supports.</para>
3422 <para>Note that these variables are still EXPERIMENTAL
3423 and can be subject to many future changes.</para>
3429 <option>wireless_ap</option>
3431 <option>(net)</option>
3433 <listitem>Wireless access point MAC address (Linux only)
3439 <option>wireless_bitrate</option>
3441 <option>(net)</option>
3443 <listitem>Wireless bitrate (ie 11 Mb/s) (Linux only)
3449 <option>wireless_essid</option>
3451 <option>(net)</option>
3453 <listitem>Wireless access point ESSID (Linux only)
3459 <option>wireless_link_bar</option>
3461 <option>(height),(width) (net)</option>
3463 <listitem>Wireless link quality bar (Linux only)
3469 <option>wireless_link_qual</option>
3471 <option>(net)</option>
3473 <listitem>Wireless link quality (Linux only)
3479 <option>wireless_link_qual_max</option>
3481 <option>(net)</option>
3483 <listitem>Wireless link quality maximum value (Linux only)
3489 <option>wireless_link_qual_perc</option>
3491 <option>(net)</option>
3493 <listitem>Wireless link quality in percents (Linux only)
3499 <option>wireless_mode</option>
3501 <option>(net)</option>
3503 <listitem>Wireless mode (Managed/Ad-Hoc/Master) (Linux
3510 <option>words</option>
3512 <option>textfile</option>
3514 <listitem>Displays the number of words in the given file
3520 <option>xmms2_album</option>
3523 <listitem>Album in current XMMS2 song
3529 <option>xmms2_artist</option>
3532 <listitem>Artist in current XMMS2 song
3538 <option>xmms2_bar</option>
3540 <option>(height),(width)</option>
3542 <listitem>Bar of XMMS2's progress
3548 <option>xmms2_bitrate</option>
3551 <listitem>Bitrate of current song
3557 <option>xmms2_comment</option>
3560 <listitem>Comment in current XMMS2 song
3566 <option>xmms2_date</option>
3569 <listitem>Returns song's date.
3575 <option>xmms2_duration</option>
3578 <listitem>Duration of current song
3584 <option>xmms2_elapsed</option>
3587 <listitem>Song's elapsed time
3593 <option>xmms2_genre</option>
3596 <listitem>Genre in current XMMS2 song
3602 <option>xmms2_id</option>
3605 <listitem>XMMS2 id of current song
3611 <option>xmms2_percent</option>
3614 <listitem>Percent of song's progress
3620 <option>xmms2_playlist</option>
3623 <listitem>Returns the XMMS2 playlist.
3629 <option>xmms2_size</option>
3632 <listitem>Size of current song
3638 <option>xmms2_smart</option>
3641 <listitem>Prints the song name in either the form "artist -
3642 title" or file name, depending on whats available
3648 <option>xmms2_status</option>
3651 <listitem>XMMS2 status (Playing, Paused, Stopped, or
3658 <option>xmms2_timesplayed</option>
3661 <listitem>Number of times a song was played (presumably).
3667 <option>xmms2_title</option>
3670 <listitem>Title in current XMMS2 song
3676 <option>xmms2_tracknr</option>
3679 <listitem>Track number in current XMMS2 song
3685 <option>xmms2_url</option>
3688 <listitem>Full path to current song