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 b72386f..4a30fcd 100755
--- a/examplebar.sh
+++ b/examplebar.sh
@@ -1,6 +1,7 @@
#! /bin/sh
-./tsarc config font "Hack Nerd Font Mono:style=Regular"
+# Put any monospace font here
+./tsarc config font "Liberation Mono:style=Regular"
./tsarc create test_comp
./tsarc set test_comp -text "Testing spaces"
@@ -9,9 +10,13 @@
./tsarc set sep -text " | "
./tsarc create date
-./tsarc set date -text "$(date)"
./tsarc layout \
-left test_comp sep date \
-right test_comp \
-center date
+
+while true; do
+ ./tsarc set date -text "$(date)"
+ sleep 1
+done