shithub: rc

Download patch

ref: 78dad74467999283411cecbe5eef2182227ad629
parent: d15d7396ab5d78c794014a2273a877821b860644
author: qwx <[email protected]>
date: Fri Jan 5 03:52:23 EST 2024

work/music: add back own plumber; replace volume(1) with volctl(1)

--- a/bin/work/music
+++ b/bin/work/music
@@ -3,13 +3,13 @@
 
 . /tmp/sizes.$sysname
 cd /lib/m
-#unmount /mnt/plumb
-#plumber -s plumb.$pid
+unmount /mnt/plumb
+plumber -s plumb.$pid
 
 cat <<! >/tmp/work.$pid
 #!/bin/rc
 label music
-window -r $volrect volume
+window -r $volrect volctl
 window -r $bcmdrect -scroll
 window -scroll -r $zukerect 'label zuke; rc'
 !
@@ -16,6 +16,6 @@
 chmod +x /tmp/work.$pid
 bof -i /tmp/work.$pid
 rm /tmp/work.$pid
-#unmount /mnt/plumb
-#rm /srv/plumb.$pid
+unmount /mnt/plumb
+rm /srv/plumb.$pid
 exit