diff options
| -rwxr-xr-x | examplebar.sh | 15 | ||||
| -rwxr-xr-x | tsarc | 1 |
2 files changed, 14 insertions, 2 deletions
diff --git a/examplebar.sh b/examplebar.sh index 5fef616..dd082f1 100755 --- a/examplebar.sh +++ b/examplebar.sh @@ -1,4 +1,15 @@ #! /bin/sh -./tsarc create test_comp & -./tsarc layout -left test_comp -center test_comp -right test_comp test_comp & +./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 set date -text "$(date)" + +./tsarc layout \ + -left test_comp sep date @@ -1,2 +1,3 @@ #! /bin/sh printf "%s\201" "$@" > /tmp/tsarc.pipe +echo >> /tmp/tsarc.pipe |
