Updated README
This commit is contained in:
parent
47b24679cc
commit
2bb095c08a
22
README.md
22
README.md
@ -69,9 +69,9 @@ ln -s $HOME/.local/lib/volumectl $HOME/.local/bin/volumectl
|
|||||||
#### Option 2 (not recommended): Downloading the script directly
|
#### Option 2 (not recommended): Downloading the script directly
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mkdir -p $HOME/.local/bin
|
mkdir -p $HOME/.local/bin
|
||||||
$ wget -O $HOME/.local/bin/volumectl https://raw.githubusercontent.com/karma-riuk/volumectl/master/volumectl
|
wget -O $HOME/.local/bin/volumectl https://raw.githubusercontent.com/karma-riuk/volumectl/master/volumectl
|
||||||
$ chmod +x $HOME/.local/bin/volumectl
|
chmod +x $HOME/.local/bin/volumectl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ $ chmod +x $HOME/.local/bin/volumectl
|
|||||||
To use the script, simply execute the `volumectl` with the flag you want,
|
To use the script, simply execute the `volumectl` with the flag you want,
|
||||||
example:
|
example:
|
||||||
```bash
|
```bash
|
||||||
$ volumectl -i
|
volumectl -i
|
||||||
```
|
```
|
||||||
|
|
||||||
### Possible flags
|
### Possible flags
|
||||||
@ -95,6 +95,18 @@ $ volumectl -i
|
|||||||
|`-d arg` or `--decrease arg` | decrease the volume by the `<arg>` amount |
|
|`-d arg` or `--decrease arg` | decrease the volume by the `<arg>` amount |
|
||||||
|`-D` or `--big-decrease` | decreases the volume by the "big" amount (by default: 10%) |
|
|`-D` or `--big-decrease` | decreases the volume by the "big" amount (by default: 10%) |
|
||||||
|`-s <arg>` or `--set <arg>` | sets the volume to `<arg>` |
|
|`-s <arg>` or `--set <arg>` | sets the volume to `<arg>` |
|
||||||
|`-m` or `--mute` | sets the volume to `<arg>` |
|
|`-m` or `--mute` | activates mute |
|
||||||
|
|`-u` or `--unmute` | deactivates mute |
|
||||||
|
|`-t` or `--toggle` | toggles mute |
|
||||||
|
|`-g` or `--get-volume` | prints the current volume level |
|
||||||
|
|`-G` or `--get-mute` | prints the current mute state |
|
||||||
|
|
||||||
|
|
||||||
|
### Optional flags
|
||||||
|
|Flag|Description|
|
||||||
|
|----|-----|
|
||||||
|
|`-c <file>` or `--config <file>` | use `<file>` as the config file instead of the default location (`$HOME/.config/volumectl/config.ini` |
|
||||||
|
|`-v` or `--verbose` | print each step the script passes through |
|
||||||
|
|`-h` or `-?` or `--help` | print the help message and exit |
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user