diff options
| author | kolunmi <kolunmi@tutanota.com> | 2023-02-14 20:22:46 -0700 |
|---|---|---|
| committer | kolunmi <kolunmi@tutanota.com> | 2023-02-14 20:22:46 -0700 |
| commit | 047ca50147edb9372167ada760c8395159a61ddd (patch) | |
| tree | 27fbc5f9f91192494760550716ca0c30fde3cfac | |
| parent | db8a243aad345cb03f52f64e1a19156b51e2a9a3 (diff) | |
| download | dwlb-047ca50147edb9372167ada760c8395159a61ddd.tar.gz | |
update README
| -rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -17,10 +17,11 @@ Pass `dwlb` as an argument to dwl's `-s` flag. This will populate each connected dwl -s 'dwlb -font "monospace:size=16"' ``` -## Status Text -The `-status` option sends status text to existing instances of dwlb. This takes two arguments: a zxdg_output_v1 name (alternatively "all" to affect all outputs or "selected" for the current output) and the text itself. +## Commands +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. -The text may contain in-line color commands in the following format: `^fg/bg(HEXCOLOR)`. For example, `^fg(ff0000)` would set the foreground red. Colors can be reset by omitting the hex value. `^^` represents a single `^` character. +### Status Text +The `-status` command is used to write status text. The text may contain in-line color commands in the following format: `^fg/bg(HEXCOLOR)`. For example, `^fg(ff0000)` would set the foreground red. Colors can be reset by omitting the hex value. `^^` represents a single `^` character. ## Other Options Run `dwlb -h` for a full list of options. |