diff options
Diffstat (limited to 'examplebar.sh')
| -rwxr-xr-x | examplebar.sh | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/examplebar.sh b/examplebar.sh index c089f7c..ff907f1 100755 --- a/examplebar.sh +++ b/examplebar.sh @@ -1,9 +1,18 @@ #! /bin/sh -./tsarc create clock -./tsarc layout -left clock +./tsarc config font "Hack Nerd Mono: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 clock -text "`date +"%a %b %d, %r"`" + ./tsarc set date -text "$(date)" sleep 1 done |
