aboutsummaryrefslogtreecommitdiff
path: root/examplebar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examplebar.sh')
-rwxr-xr-xexamplebar.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/examplebar.sh b/examplebar.sh
index dd082f1..ff907f1 100755
--- a/examplebar.sh
+++ b/examplebar.sh
@@ -9,7 +9,10 @@
./tsarc set sep -text " | "
./tsarc create date
-./tsarc set date -text "$(date)"
-./tsarc layout \
- -left test_comp sep date
+./tsarc layout -left test_comp sep date
+
+while true; do
+ ./tsarc set date -text "$(date)"
+ sleep 1
+done