aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkolunmi <kolunmi@tutanota.com>2023-03-18 11:15:26 -0700
committerkolunmi <kolunmi@tutanota.com>2023-03-18 11:15:26 -0700
commit7e70e4662bfd5add85478956f44aded23b098e50 (patch)
tree9ed72943bcc5a48260995446599a3b4598c454c9
parentb1e0f996c22538fb1495daa7e70641f9b3bfc090 (diff)
downloaddwlb-7e70e4662bfd5add85478956f44aded23b098e50.tar.gz
update README
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index d501416..360af71 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ If dwl is [patched](https://lists.sr.ht/~raphi/public-inbox/patches/39166) appro
Command options send instructions to existing instances of dwlb. All commands take at least one argument to specify a bar on which to operate. This may be zxdg_output_v1 name, "all" to affect all outputs, or "selected" for the current output.
### Status Text
-The `-status` command is used to write status text. The text may contain in-line commands in the following format: `^cmd(argument)`.
+The `-status` and `-title` commands are used to write status text. The text may contain in-line commands in the following format: `^cmd(argument)`.
| In-Line Command | Description |
|---------------------|-----------------------------------------------------------------------------|
@@ -54,6 +54,12 @@ A color command with no argument reverts to the default value. `^^` represents a
## Other Options
Run `dwlb -h` for a full list of options.
+## Someblocks
+To use someblocks, or any program that outputs to stdout, with dwlb, use this one-liner:
+```bash
+someblocks -p | while read -r line; do dwlb -status all "$line"; done
+```
+
## Acknowledgements
* [dtao](https://github.com/djpohly/dtao)
* [somebar](https://sr.ht/~raphi/somebar/)