audic

command module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

README

audic

Small audio-controller for pulseaudio written in go.

About

'audic' is a small cli wrapper that uses 'pactl' under the hood. This tool makes it really easy to interact with pulseaudio via the pactl.

If you find any bugs or you got a feature you'd need, create a pr and I'll try to implement/fix it.

Help

Prerequisite
  • PulseAudio + pactl
  • Golang
Build / Install

The available make flags are:

make install - will build and install the binary to your /usr/local/bin folder

make run- compiles and runs the binary with the help flag

make build - build the binary and do nothing after

How to use audic

usage: audic <Command> [-h|--help]

Commands:

  • volume Set/Increase/Decrease the volume
  • toggle Toggle the audio (mute/unmute)
  • gui Open a GUI (requires pavucontrol)
  • about Display information about the project
Subcommands

usage: audic volume [-h|--help] [-S|--sink <integer>] [-i|--increase <integer>] [-d|--decrease <integer>] [-s|--set <integer>] [-m|--show]

Arguments:

  • -h --help Print help information
  • -S --sink Set the sink you want to control. Default: -1
  • -i --increase Increase the volume by N
  • -d --decrease Decrease the volume by N
  • -s --set Set the volume to N
  • -m --show Show the volume
Features

audic works on all Linux distributions where pulseaudio is installed.

It's equiped with a "sink" cache, so you don't have to type it everytime.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL