From 87b6e59b7c5893daca15457485134eb7375e1a77 Mon Sep 17 00:00:00 2001 From: ne_mene Date: Sun, 1 Mar 2026 20:47:16 +0100 Subject: examplebar update --- examplebar.sh | 15 +++++++++++++-- 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 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 -- cgit v1.3-2-g0d8e