diff options
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. |
