aboutsummaryrefslogtreecommitdiff
path: root/examplebar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examplebar.sh')
-rwxr-xr-xexamplebar.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/examplebar.sh b/examplebar.sh
index 5fef616..c089f7c 100755
--- a/examplebar.sh
+++ b/examplebar.sh
@@ -1,4 +1,9 @@
#! /bin/sh
-./tsarc create test_comp &
-./tsarc layout -left test_comp -center test_comp -right test_comp test_comp &
+./tsarc create clock
+./tsarc layout -left clock
+
+while true; do
+ ./tsarc set clock -text "`date +"%a %b %d, %r"`"
+ sleep 1
+done