From 4643850108db54d804268d6b1a43eee70a40d52f Mon Sep 17 00:00:00 2001 From: ne_mene Date: Mon, 2 Mar 2026 12:03:34 +0100 Subject: moar --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') 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. -- cgit v1.3-2-g0d8e