aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorne_mene <[email protected]>2026-03-02 12:03:34 +0100
committerne_mene <[email protected]>2026-03-02 12:03:34 +0100
commit4643850108db54d804268d6b1a43eee70a40d52f (patch)
tree0fd9213e9bd297bbbd871e788e204759805b1470 /README.md
parent575682781f0729807e2aa844f93594f10b9b430b (diff)
moar
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index b8c6db5..a21c1e5 100644
--- a/README.md
+++ b/README.md
@@ -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.