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

# Put any monospace font here
./tsarc config font "Liberation Mono:style=Regular:size=9"
./tsarc config height 14

./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 \
  -right test_comp \
  -center date

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