forked from external/yambar
doc: yambar-modules-script: codespell fixes
This commit is contained in:
parent
cf41d008f8
commit
0ddabacc77
1 changed files with 4 additions and 4 deletions
|
@ -8,12 +8,12 @@ script - This module executes a user-provided script (or binary!)
|
||||||
This module executes a user-provided script (or binary!) that writes
|
This module executes a user-provided script (or binary!) that writes
|
||||||
tags on its stdout.
|
tags on its stdout.
|
||||||
|
|
||||||
Scripts can be run in two modes: yambar polled, or continously. In the
|
Scripts can be run in two modes: yambar polled, or continuously. In the
|
||||||
yambar polled mode, the script is expected to write one set of tags
|
yambar polled mode, the script is expected to write one set of tags
|
||||||
and then exit. Yambar will execute the script again after a
|
and then exit. Yambar will execute the script again after a
|
||||||
configurable amount of time.
|
configurable amount of time.
|
||||||
|
|
||||||
In continous mode, the script is executed once. It will typically run
|
In continuous mode, the script is executed once. It will typically run
|
||||||
in a loop, sending an updated tag set whenever it needs, or wants
|
in a loop, sending an updated tag set whenever it needs, or wants
|
||||||
to. The last tag set is used (displayed) by yambar until a new tag set
|
to. The last tag set is used (displayed) by yambar until a new tag set
|
||||||
is received. This mode is intended to be used by scripts that depends
|
is received. This mode is intended to be used by scripts that depends
|
||||||
|
@ -77,7 +77,7 @@ User defined.
|
||||||
: Arguments to pass to the script/binary.
|
: Arguments to pass to the script/binary.
|
||||||
| poll-interval
|
| poll-interval
|
||||||
: integer
|
: integer
|
||||||
: Number of seconds between each script run. If unset, continous mode
|
: Number of seconds between each script run. If unset, continuous mode
|
||||||
is used.
|
is used.
|
||||||
|
|
||||||
# EXAMPLES
|
# EXAMPLES
|
||||||
|
@ -98,7 +98,7 @@ while true; do
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
|
||||||
This script runs in continous mode, and will emit a single string tag,
|
This script runs in continuous mode, and will emit a single string tag,
|
||||||
_test_, and alternate its value between *hello* and *world* every
|
_test_, and alternate its value between *hello* and *world* every
|
||||||
three seconds.
|
three seconds.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue