Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dukecat0/volume
Adjust the volume from the command line on macOS.
https://github.com/dukecat0/volume
cli command-line command-line-tool macos utility volume volume-control
Last synced: 10 days ago
JSON representation
Adjust the volume from the command line on macOS.
- Host: GitHub
- URL: https://github.com/dukecat0/volume
- Owner: dukecat0
- License: mit
- Created: 2021-10-25T07:57:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T15:46:45.000Z (over 1 year ago)
- Last Synced: 2024-10-15T12:46:54.851Z (22 days ago)
- Topics: cli, command-line, command-line-tool, macos, utility, volume, volume-control
- Language: Swift
- Homepage:
- Size: 30.3 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# volume
Adjust the volume from the command line on macOS.
## Installation
Using [Homebrew](https://brew.sh):
```shell
brew tap meowmeowmeowcat/taps
brew install meowmeowmeowcat/taps/volume
```Using [Mint](https://github.com/yonaskolb/Mint):
```shell
mint install meowmeowmeowcat/[email protected]
```Install manually:
1. Download the release from the [release page](https://github.com/meowmeowmeowcat/volume/releases/tag/v0.0.2)
2. Add it to the PATH## Usage
```shell
USAGE: volume [--input] [--alert] [--all]ARGUMENTS:
Use up or down to increase or decrease the volume.
Input a value(0-100) to adjuct the volume.
Default to output volume.OPTIONS:
-i, --input Set input volume.
-a, --alert Set alert volume.
--all Set all volumes to the same level.
Including output, input and alert volume.
--version Show the version.
-h, --help Show help information.
```## Example
Increase the output volume:
```shell
$ volume up
```Decrease the output volume:
```shell
$ volume down
```Set the output volume to 10:
```shell
$ volume 10
```Set the input volume to 60:
```shell
$ volume --input 60
```Set the alert volume to 100:
```shell
$ volume --alert 100
```Set all volume(including output, input and alert volume) to 50:
```shell
$ volume --all 50
```## Notes
If you want to adjust the volume from the command line faster, using `alias` would be a good choice:```shell
alias vol="volume"
```