Recently Written · git

dsad

Dmenu interface for Simple Audio Daemon

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

Log | Files | Refs


commit 4bc47fb4c35ea9bf65fde3b711d01aea13302df9
Spenser Truex <truex@equwal.com>
2025-09-01 18:27:05 -0400

Add sadp/sadc

 dsad | 4 ++--
 sadc | 1 +
 sadp | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dsad b/dsad
index cfefdee..fa49e48 100755
--- a/dsad
+++ b/dsad
@@ -41,9 +41,9 @@ cmd=$(printf "%s\\n%s\\n%s"  "$CUSTOMCMDS" "$ZEROCMDS" "$ARGCMDS" \
 [ -n "$(printf "%s" "$CUSTOMCMDS" | grep "$cmd")" ] \
     && eval "$cmd"  && exit 0
 [ -n "$(printf "%s" "$ZEROCMDS"   | grep "$cmd")" ] \
-    && sadcmd "$cmd" && exit 0
+    && sad-cmd "$cmd" && exit 0
 [ -n "$(printf "%s" "$ARGCMDS"    | grep "$cmd")" ] \
-    && sadcmd "$cmd"  \
+    && sad-cmd "$cmd"  \
               "$(printf "" | dmenu -i -l 0 -p "arg $(printf "%s" "$ARGCMDS" | grep "$cmd" | cut -d ' ' -f 2)? ")" \
     && exit 0
 
diff --git a/sadc b/sadc
new file mode 120000
index 0000000..8464a41
--- /dev/null
+++ b/sadc
@@ -0,0 +1 @@
+sad-cmd
\ No newline at end of file
diff --git a/sadp b/sadp
new file mode 120000
index 0000000..660c98e
--- /dev/null
+++ b/sadp
@@ -0,0 +1 @@
+sad-toggle-play
\ No newline at end of file