shithub: rc

Download patch

ref: 405c18575df500a9b6adc829487f10b308864756
parent: 8d85d21d00d5806c45b8b243ac8ef265b491a8f7
author: qwx <qwx@sciops.net>
date: Wed Apr 13 17:56:05 EDT 2022

add sbar: simplistic persistent mutable text bar

--- /dev/null
+++ b/bin/sbar
@@ -1,0 +1,9 @@
+#!/bin/rc
+rfork n
+rm -f /srv/bar
+bind -a '#|' /mnt/bar
+<>[3]/mnt/bar/data1 {
+	echo 3 >/srv/bar
+#	aux/statusmsg -k -w 720,1052,1590,1080 </mnt/bar/data &
+	aux/statusmsg -k -w 720,1048,1590,1080 </mnt/bar/data &
+}