-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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 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` - `-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 - `-M` is now `-m` - Custom output format not working with more than 1 argument. - A few cases where word splitting was not desired. Signed-off-by: Beau Hastings <[email protected]>
- Loading branch information
Showing
4 changed files
with
752 additions
and
608 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.