aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorne_mene <[email protected]>2026-03-01 20:47:16 +0100
committerne_mene <[email protected]>2026-03-01 20:47:16 +0100
commit87b6e59b7c5893daca15457485134eb7375e1a77 (patch)
tree34da81b798b5dcb498069fb9ca952f2bd145c15d
parented3293f388537cb378e5ade04deb159bad9649c0 (diff)
examplebar update
-rwxr-xr-xexamplebar.sh15
-rwxr-xr-xtsarc1
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
diff --git a/tsarc b/tsarc
index 3a61553..31251ef 100755
--- a/tsarc
+++ b/tsarc
@@ -1,2 +1,3 @@
#! /bin/sh
printf "%s\201" "$@" > /tmp/tsarc.pipe
+echo >> /tmp/tsarc.pipe