summaryrefslogtreecommitdiffhomepage
path: root/examples/status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/status.sh')
-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"