> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/evaluator/applicable_contexts/status_bar.md).

# Status Bar

You can use the evaluator in the [status bar](/directory-opus/manual/preferences/preferences_categories/file_displays/status_bar.md) to insert text returned by the evaluation.

Use the `{= ... =}` code to insert an evaluation expression. The expression between the `{=` and the `=}` markers can span multiple lines if needed. The return value of the expression is inserted into the status bar.

In this evaluation context, the following variables are available:

| Variable      | Type     | Description                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| *status code* | *varies* | <p>All the <a href="/directory-opus/manual/reference/status_bar_codes.md">status bar codes</a> are available as variables in this evaluation context (other than those that generate images or graphs).</p><p>Note that some keywords may use characters like a <code>:</code> that aren't valid in variable names - to access them, use the <a href="/directory-opus/manual/reference/evaluator/val.md">val</a> function.</p> |
| dual          | *int*    | Indicates which side of a dual Lister this evaluation clause is being run for. Possible values are `0` (single display), `1` (left/top) and `2` (right/bottom).                                                                                                                                                                                                                                                                |
| path          | *path*   | Returns the current path the status bar is displaying information for.                                                                                                                                                                                                                                                                                                                                                         |

The return value should be a *str* that will be inserted into the status bar.
