no-mistakes(document): Document top bar output
- commit
- d2df64e92bee6873e8692f4679f134d9f252b919
- author
- brice · · 2026-07-07 11:12 UTC
- parent
- efbf525
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
2 files · +2 -1
M README.md +1 -1
| @@ -107,7 +107,7 @@ Key specs support `alt+<char>`, `alt+space`, and `alt+left/right/up/down`; digit | |||
| 107 | 107 | ||
| 108 | 108 | ### Bar right anchors | |
| 109 | 109 | ||
| 110 | - | The top and bottom bar right anchors run configurable commands on the daemon host. By default, `bar.top-right = vev-bar-top-right` prints CPU, memory, and hour text, and `bar.bottom-right = vev-bar-bottom-right` prints compact git state for the focused pane's `VEV_PANE_CWD`. Set either value empty to disable that anchor, or set it to another command to replace it. | |
| 110 | + | The top and bottom bar right anchors run configurable commands on the daemon host. By default, `bar.top-right = vev-bar-top-right` prints CPU, memory, then hour text (for example `C 12% M 48% 09:41`), and `bar.bottom-right = vev-bar-bottom-right` prints compact git state for the focused pane's `VEV_PANE_CWD`. Set either value empty to disable that anchor, or set it to another command to replace it. | |
| 111 | 111 | ||
| 112 | 112 | Both anchors share `bar.interval`, which defaults to `5s`; values below `1s` are clamped to `1s`. vev also refreshes around attach, resize, focus, and copy-feedback changes. Commands are bounded by a timeout and output limit. On failure or timeout, vev keeps the last good value; if there is none, the anchor is empty. | |
| 113 | 113 | ||
| @@ -107,7 +107,7 @@ Key specs support `alt+<char>`, `alt+space`, and `alt+left/right/up/down`; digit | |||||
| 107 | 107 | ||||
| 108 | ### Bar right anchors | 108 | ### Bar right anchors | ||
| 109 | 109 | ||||
| 110 | - | The top and bottom bar right anchors run configurable commands on the daemon host. By default, `bar.top-right = vev-bar-top-right` prints CPU, memory, and hour text, and `bar.bottom-right = vev-bar-bottom-right` prints compact git state for the focused pane's `VEV_PANE_CWD`. Set either value empty to disable that anchor, or set it to another command to replace it. | 110 | + | The top and bottom bar right anchors run configurable commands on the daemon host. By default, `bar.top-right = vev-bar-top-right` prints CPU, memory, then hour text (for example `C 12% M 48% 09:41`), and `bar.bottom-right = vev-bar-bottom-right` prints compact git state for the focused pane's `VEV_PANE_CWD`. Set either value empty to disable that anchor, or set it to another command to replace it. |
| 111 | 111 | ||||
| 112 | Both anchors share `bar.interval`, which defaults to `5s`; values below `1s` are clamped to `1s`. vev also refreshes around attach, resize, focus, and copy-feedback changes. Commands are bounded by a timeout and output limit. On failure or timeout, vev keeps the last good value; if there is none, the anchor is empty. | 112 | Both anchors share `bar.interval`, which defaults to `5s`; values below `1s` are clamped to `1s`. vev also refreshes around attach, resize, focus, and copy-feedback changes. Commands are bounded by a timeout and output limit. On failure or timeout, vev keeps the last good value; if there is none, the anchor is empty. | ||
| 113 | 113 | ||||
M scripts/vev-bar-top-right +1 -0
| @@ -1,6 +1,7 @@ | |||
| 1 | 1 | #!/bin/sh | |
| 2 | 2 | ||
| 3 | 3 | # Print a compact, single-line system summary for vev's top-right bar anchor. | |
| 4 | + | # When available, segments are ordered as CPU, memory, then clock. | |
| 4 | 5 | # Segments that cannot be read are omitted without producing stderr. | |
| 5 | 6 | ||
| 6 | 7 | now=$(date +%H:%M 2>/dev/null || true) | |
| @@ -1,6 +1,7 @@ | |||||
| 1 | #!/bin/sh | 1 | #!/bin/sh | ||
| 2 | 2 | ||||
| 3 | # Print a compact, single-line system summary for vev's top-right bar anchor. | 3 | # Print a compact, single-line system summary for vev's top-right bar anchor. | ||
| 4 | + | # When available, segments are ordered as CPU, memory, then clock. | |||
| 4 | # Segments that cannot be read are omitted without producing stderr. | 5 | # Segments that cannot be read are omitted without producing stderr. | ||
| 5 | 6 | ||||
| 6 | now=$(date +%H:%M 2>/dev/null || true) | 7 | now=$(date +%H:%M 2>/dev/null || true) | ||