diff options
| author | ne_mene <[email protected]> | 2026-03-02 12:03:34 +0100 |
|---|---|---|
| committer | ne_mene <[email protected]> | 2026-03-02 12:03:34 +0100 |
| commit | 4643850108db54d804268d6b1a43eee70a40d52f (patch) | |
| tree | 0fd9213e9bd297bbbd871e788e204759805b1470 /README.md | |
| parent | 575682781f0729807e2aa844f93594f10b9b430b (diff) | |
moar
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -58,3 +58,14 @@ On the right, left and center there will be a previously set `label` component. ``` tsarc layout -left label -center label -right label ``` + +Consider the following script: +``` +while true; do + tsarc set date -text "$(date)" + sleep 1 +done +``` +If our tsarbar has a component named `date` somewhere in the layout and this script is running. +It will update the date to `$(date)`, this is a clock in our bar! +See `man date` for more info. |
