aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--Makefile14
-rw-r--r--ponymix.1 (renamed from pulsemix.1)10
-rw-r--r--ponymix.c (renamed from pulsemix.c)2
-rwxr-xr-xruntests12
5 files changed, 21 insertions, 21 deletions
diff --git a/.gitignore b/.gitignore
index 04e757e..af83c41 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-pulsemix
-pulsemix.o
+ponymix
+ponymix.o
diff --git a/Makefile b/Makefile
index 1b7df79..973b8c0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,14 @@ CC = gcc -std=gnu99
CFLAGS := -Wall -Wextra -pedantic -O2 -g -D_REENTRANT $(CFLAGS)
LDFLAGS := -lpulse -lm $(LDFLAGS)
-pulsemix: pulsemix.o
+ponymix: ponymix.o
-install: pulsemix
- install -Dm755 pulsemix $(DESTDIR)/usr/bin/pulsemix
- install -Dm644 pulsemix.1 $(DESTDIR)/usr/share/man/man1/pulsemix.1
+install: ponymix
+ install -Dm755 ponymix $(DESTDIR)/usr/bin/ponymix
+ install -Dm644 ponymix.1 $(DESTDIR)/usr/share/man/man1/ponymix.1
-check: pulsemix
- ./runtests ./pulsemix
+check: ponymix
+ ./runtests ./ponymix
clean:
- $(RM) pulsemix pulsemix.o
+ $(RM) ponymix ponymix.o
diff --git a/pulsemix.1 b/ponymix.1
index 3665078..4c1326e 100644
--- a/pulsemix.1
+++ b/ponymix.1
@@ -1,10 +1,10 @@
-.TH PULSEMIX "1" "August 12" "pulsemix" "User Commands"
+.TH ponymix "1" "August 12" "ponymix" "User Commands"
.SH NAME
-pulsemix \- cli volume control for PulseAudio
+ponymix \- cli volume control for PulseAudio
.SH SYNOPSIS
-\fBpulsemix\fP [options] \fIoperation\fP [args]
+\fBponymix\fP [options] \fIoperation\fP [args]
.SH DESCRIPTION
-\fBpulsemix\fP is a command line volume control for PulseAudio, letting you
+\fBponymix\fP is a command line volume control for PulseAudio, letting you
perform many operations on both device and application sinks and source.
.SH OPTIONS
.PP
@@ -52,7 +52,7 @@ volume in this way is capped at 0.
.IP "\fBmute\fR, \fBunmute\fR, \fBtoggle\fR"
Mute, unmute, or toggle the mute status on the target.
.IP "\fBis-muted\fR"
-Check if the target is muted. pulsemix will exit with the status 0 if muted,
+Check if the target is muted. ponymix will exit with the status 0 if muted,
and non-zero otherwise.
.SS Device Operations
.PP
diff --git a/pulsemix.c b/ponymix.c
index c053db7..1a57be4 100644
--- a/pulsemix.c
+++ b/ponymix.c
@@ -1,6 +1,6 @@
/* Copyright (c) 2012 Dave Reisner
*
- * pulsemix.c
+ * ponymix.c
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
diff --git a/runtests b/runtests
index 747c5bf..a0762cb 100755
--- a/runtests
+++ b/runtests
@@ -1,14 +1,14 @@
#!/bin/bash
-pulsemix=$1
+ponymix=$1
-if [[ -z $pulsemix ]]; then
- printf 'usage: %s path-to-pulsemix\n' "${0##*/}"
+if [[ -z $ponymix ]]; then
+ printf 'usage: %s path-to-ponymix\n' "${0##*/}"
exit 1
fi
-if [[ ! -x $pulsemix ]]; then
- printf '==> ERROR: pulsemix binary not found at %s\n' "$pulsemix"
+if [[ ! -x $ponymix ]]; then
+ printf '==> ERROR: ponymix binary not found at %s\n' "$ponymix"
exit 1
fi
@@ -19,7 +19,7 @@ do_test() {
(( ++testno ))
- result=$("$pulsemix" "$verb" -- ${arg+"$arg"} 2>/dev/null)
+ result=$("$ponymix" "$verb" -- ${arg+"$arg"} 2>/dev/null)
if [[ $result != $expected ]]; then
printf '==> test %d FAIL: expected %s, got %s\n' "$testno" "$expected" "$result"
(( ++fail ))