Skip to content

v3.0.0

Compare
Choose a tag to compare
@hastinbe hastinbe released this 20 Oct 05:19
· 69 commits to master since this release

Features & Changes

  • Colored usage/help if the terminal supports 8 colors.
  • Error feedback for missing required function arguments.
  • PA and amixer functions are only defined when enabled.
  • Removed all global variables.
  • PA functions renamed with a pa_ prefix, likewise amixer_ for amixer.
  • Immutable and/or integer variables are now declared as such.
  • Cache pacmd list-sinks during the script's execution, except for listen.
  • Support for volnoti notifications

Commands

Commands are used to perform an operation, such as muting or changing the volume. In versions prior to 3.x they were command-line options. This change frees up and slims down the amount of options, and makes the script straight-forward to use.

Commands include: up, down, set, mute, listen, output, outputs, notifications, help

Options

Removed options

  • -d is now the down command
  • -i is now the up command
  • -m is now the mute command
  • -o is now the output command
  • -v is now the set command

Renamed options

  • -M is now -m

Fixes

  • Custom output format not working with more than 1 argument.
  • A few cases where word splitting was not desired.