Recently Written · git

dsad

Dmenu interface for Simple Audio Daemon

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

Log | Files | Refs


sad-start (260 bytes)

1 #!/bin/sh
2 SAD_SOCK=${SAD_SOCK:-"$HOME"/.socket}
3 [ -e "$SAD_SOCK" ] \
4     && echo "socket already exists at $SAD_SOCK" \
5     && echo "sad is maybe already running" \
6     && echo "Deleting it and attempting to start" \
7     && rm "$SAD_SOCK"
8 sad -f "$SAD_SOCK" &