v3.0.0
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 forlisten
. - 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 thedown
command-i
is now theup
command-m
is now themute
command-o
is now theoutput
command-v
is now theset
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.