~emersion/dotfiles

9f59604c88356db5ed30ecb2d7381ab0dd4243d5 — Simon Ser a month ago 2404099
bin/stewdio: use netcat instead of ncat

ncat is the nmap tool. netcat/nc is openbsd's tool.
1 files changed, 1 insertions(+), 1 deletions(-)

M bin/stewdio
M bin/stewdio => bin/stewdio +1 -1
@@ 9,7 9,7 @@ play|pause|stop)
	socket="$XDG_RUNTIME_DIR/stewdio.socket"
	if [ -e "$socket" ]; then
		echo >&2 "Stopping playback"
		echo '{"command": ["quit"]}' | ncat -U "$socket" >/dev/null
		echo '{"command": ["quit"]}' | netcat -U "$socket" >/dev/null
	else
		echo >&2 "Starting playback"
		(