diff options
| author | kolunmi <kolunmi@tutanota.com> | 2023-03-05 10:04:24 -0700 |
|---|---|---|
| committer | kolunmi <kolunmi@tutanota.com> | 2023-03-05 10:04:24 -0700 |
| commit | 6236d01e1526cead7d7272bdacd69de63917894f (patch) | |
| tree | 84bd34d257b1ee45615beab9ed3bbb237aa0e3e2 | |
| parent | d36c867bba50cc044a32f02b5752b07776a99d9e (diff) | |
| download | dwlb-6236d01e1526cead7d7272bdacd69de63917894f.tar.gz | |
add status commands example to README
| -rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -45,6 +45,11 @@ The `-status` command is used to write status text. The text may contain in-line | `^mm(SHELLCOMMAND)` | Begins or terminates middle mouse button region with action `SHELLCOMMAND`. | | `^rm(SHELLCOMMAND)` | Begins or terminates right mouse button region with action `SHELLCOMMAND`. | +In this example, clicking the text highlighted in red will spawn the [foot](https://codeberg.org/dnkl/foot) terminal. +```bash +dwlb -status all 'text ^bg(ff0000)^lm(foot)text^bg()^lm() text' +``` + A color command with no argument reverts to the default value. `^^` represents a single `^` character. Status commands can be disabled with `-no-status-commands`. ## Other Options |