summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-03-01 14:42:07 +0000
committerjao <jao@gnu.org>2022-03-01 14:42:07 +0000
commit52980f31965961bb9c52c83d45e5822d4472ec02 (patch)
tree5961b446cc5f5922ca5c011f8ae596950cc056e5 /examples
parentefa9e4c541695e725d39da001592c9613acc4cae (diff)
downloadxmobar-52980f31965961bb9c52c83d45e5822d4472ec02.tar.gz
xmobar-52980f31965961bb9c52c83d45e5822d4472ec02.tar.bz2
examples and changlog updated0.42
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/status.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/status.sh b/examples/status.sh
index 94e8fe7..151728b 100755
--- a/examples/status.sh
+++ b/examples/status.sh
@@ -51,4 +51,6 @@ function percentBar () {
echo "$res</fc>"
}
+[[ -p $STATUSPIPE ]] || mkfifo $STATUSPIPE
+
echo "$( percentBar )" > "$STATUSPIPE"