ref: a5d881764e2f96d0fba934a023e0565282a5af9a
parent: 7eadf4cdfa03b8b93c86924dd25cd3dddc78418f
author: qwx <qwx@sciops.net>
date: Tue Apr 30 09:31:27 EDT 2024
𝕊: use prev track as stop for shp
--- a/bin/𝕊
+++ b/bin/𝕊
@@ -15,9 +15,12 @@
for(i=2; i<=length(s); i++){
k = s[i]
if(!(k in h)){
- if(k == "")
+ if(k == ""){
system("plumb -d audio ''key <''")
- else if(k == ""){
+ # instead of trying to detect stopped state, just
+ # use prev as stop and toggle play as start for shp
+ system("Sto")
+ }else if(k == ""){
system("plumb -d audio ''key p''")
system("Sta")
}else if(k == ""){