shithub: rc

ref: ce7c66bff42a5073a334915fda1f70398747828c
dir: /bin/work/music/

View raw version
#!/bin/rc -b
rfork ne

. /tmp/sizes.$sysname
cd /lib/m
unmount /mnt/plumb
plumber -s plumb.$pid

cat <<! >/tmp/work.$pid
#!/bin/rc
label music
window -r $volrect vol
window -r $bcmdrect -scroll
window -scroll -r $zukerect 'label zuke; rc'
!
chmod +x /tmp/work.$pid
bof -i /tmp/work.$pid
rm /tmp/work.$pid
unmount /mnt/plumb
rm /srv/plumb.$pid
exit