aboutsummaryrefslogtreecommitdiff
path: root/examplebar.sh
blob: eb5272301d88a4e8f1801111418149d3d49d421a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

./tsarc config font "monospace:style=Regular"

./tsarc create test_comp
./tsarc set test_comp -text "Testing spaces"

./tsarc create sep
./tsarc set sep -text " | "

./tsarc create date

./tsarc layout -left test_comp sep date

while true; do
  ./tsarc set date -text "$(date)"
  sleep 1
done