mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
clarifying docs on $execp
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1026 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
ed92bf7f60
commit
adcf34d5f7
7
README
7
README
@ -726,7 +726,12 @@ VARIABLES
|
|||||||
recommend coding wanted behaviour in C and posting a patch. This
|
recommend coding wanted behaviour in C and posting a patch. This
|
||||||
differs from $exec in that it parses the output of the command,
|
differs from $exec in that it parses the output of the command,
|
||||||
so you can insert things like ${color red}hi!${color} in your
|
so you can insert things like ${color red}hi!${color} in your
|
||||||
script and have it correctly parsed by Conky.
|
script and have it correctly parsed by Conky. Caveats: Conky
|
||||||
|
parses and evaluates the output of $execp every time Conky
|
||||||
|
loops, and then destroys all the objects. If you try to use any-
|
||||||
|
thing like $execi within an $execp statement, it will function-
|
||||||
|
ally run at the same interval that the $execp statement runs, as
|
||||||
|
it is created and destroyed at every interval.
|
||||||
|
|
||||||
|
|
||||||
execbar command
|
execbar command
|
||||||
|
@ -678,6 +678,7 @@ Executes a shell command and displays the output in conky. warning: this takes a
|
|||||||
.TP
|
.TP
|
||||||
\fB\*(T<\fBexecp\fR\*(T>\fR \*(T<\fBcommand\fR\*(T>
|
\fB\*(T<\fBexecp\fR\*(T>\fR \*(T<\fBcommand\fR\*(T>
|
||||||
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. This differs from $exec in that it parses the output of the command, so you can insert things like ${color red}hi!${color} in your script and have it correctly parsed by Conky.
|
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. This differs from $exec in that it parses the output of the command, so you can insert things like ${color red}hi!${color} in your script and have it correctly parsed by Conky.
|
||||||
|
Caveats: Conky parses and evaluates the output of $execp every time Conky loops, and then destroys all the objects. If you try to use anything 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.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
\fB\*(T<\fBexecbar\fR\*(T>\fR \*(T<\fBcommand\fR\*(T>
|
\fB\*(T<\fBexecbar\fR\*(T>\fR \*(T<\fBcommand\fR\*(T>
|
||||||
|
@ -654,6 +654,7 @@
|
|||||||
</term>
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
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. This differs from $exec in that it parses the output of the command, so you can insert things like ${color red}hi!${color} in your script and have it correctly parsed by Conky.
|
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. This differs from $exec in that it parses the output of the command, so you can insert things like ${color red}hi!${color} in your script and have it correctly parsed by Conky.
|
||||||
|
Caveats: Conky parses and evaluates the output of $execp every time Conky loops, and then destroys all the objects. If you try to use anything 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.
|
||||||
<para></para></listitem>
|
<para></para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user