diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-08-14 08:58:50 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-14 08:58:50 -0400 |
commit | 4382c2acf0a893eb4b96c3465af73523560a4815 (patch) | |
tree | 635bd8f5235999e8786860ae358cbb546e1af90a | |
parent | 33d2495f66f052377794473bc58ce60e79a9be34 (diff) | |
download | mirror-ponymix-4382c2acf0a893eb4b96c3465af73523560a4815.tar.gz mirror-ponymix-4382c2acf0a893eb4b96c3465af73523560a4815.tar.bz2 mirror-ponymix-4382c2acf0a893eb4b96c3465af73523560a4815.zip |
This repo is now about ponies.
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile | 14 | ||||
-rw-r--r-- | ponymix.1 (renamed from pulsemix.1) | 10 | ||||
-rw-r--r-- | ponymix.c (renamed from pulsemix.c) | 2 | ||||
-rwxr-xr-x | runtests | 12 |
5 files changed, 21 insertions, 21 deletions
@@ -1,2 +1,2 @@ -pulsemix -pulsemix.o +ponymix +ponymix.o @@ -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 @@ -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 @@ -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 @@ -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 )) |