Recently Written · git

dsad

Dmenu interface for Simple Audio Daemon

git clone https://github.com/equwal/dsad

Log | Files | Refs


commit 835290e395165ef931ee0fa05f18284cbdcb0afb
Spenser Truex <truex@equwal.com>
2022-08-22 15:30:07 -0300

Note bug in sad-add

 sad-add | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sad-add b/sad-add
index 7327e47..4920358 100755
--- a/sad-add
+++ b/sad-add
@@ -1,4 +1,6 @@
-#!/bin/sh
+#!/bin/bash
+# BUG: need to use absolute paths
+#
 SAD_SOCK=${SAD_SOCK:-"$HOME"/.socket}
 SAD_DEFAULT_MODE=${SAD_DEFAULT_MODE:-"random"}
 
@@ -24,7 +26,6 @@ nopath () {
 }
 
 file () {
-    echo file
     printf 'add %s\n' "$1" | nc -NU "$SAD_SOCK"
 }