From 6236d01e1526cead7d7272bdacd69de63917894f Mon Sep 17 00:00:00 2001 From: kolunmi Date: Sun, 5 Mar 2023 10:04:24 -0700 Subject: [PATCH] add status commands example to README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 0987d57..05d2279 100644 --- a/README.md +++ b/README.md @@ -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