chvol

Simple interface to set PulseAudio's volume, with graphical feedback! 🔊

NameSizeMode
..
README.md 1K -rw-r--r--
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# chvol

Simple interface to set PulseAudio's volume, with graphical feedback! 🔊

## Usage

```console
$ chvol VOLUME%
$ chvol [up|down|mute|mute-mic] [-g]
```

### Commands

* **up:**       increment the volume
* **down:**     decrement the volume
* **mute:**     toggle the speaker
* **mute-mic:** toggle the microphone

### Options

* **-g:** show graphical feedback (volume bar)

### Examples

```console
$ chvol       # prints the current volume
$ chvol 75%   # sets the system volume to 75%
$ chvol up -g # increments the volume
```

## Installation

```console
$ ./nob
# install -m 0755 -o root -g root ./build/chvol      /usr/bin/
# install -m 0644 -o root -g root ./build/chvol.1.gz /usr/share/man/man1/
# mandb
```

### Configuration

Many configuration keys are provided at compile-time via the DOS-INI file
`chvol.conf`. When compiling the program the `src/configure.c` utility converts
this INI file into C code which is then included in the main application.

## License

© 2026 Pablo.

Free use of this software is granted under the terms of the GPL-3.0 License.
See `LICENSE`.

The file `assets/volume-change.ogg` is part of the
[Freedesktop sound theme](https://freedesktop.org/wiki/Specifications/sound-theme-spec)
and is licensed under the CC-BY-4.0 license. The file `arena.h` is taken from
[`tsoding/arena`](https://github.com/tsoding/arena) and is licensed under the
MIT license.