Skip to content
Beau Hastings edited this page Oct 28, 2020 · 4 revisions

Installation

Dependencies

Arch Linux

Arch Linux users may find PKGBUILD in aur.


Clone this repository:

git clone https://github.com/hastinbe/i3-volume.git ~/i3-volume

Volume control can be done through either alsa-utils, pulseaudio-utils, or both. Use one of the example configuration files below:

PulseAudio

cat i3volume-pulseaudio.conf >> ~/.config/i3/config

Alsamixer

cat i3volume-alsa.conf >> ~/.config/i3/config

Reload i3wm by pressing mod+Shift+r and use the volume keys on your keyboard.


Clone this repository:

git clone https://github.com/hastinbe/i3-volume.git ~/i3-volume

Add the following module entry to your polybar config:

[module/i3-volume]
type = custom/script
tail = true
label = %output%
exec = ~/i3-volume/volume listen "%i %v %p\n"
scroll-up = ~/i3-volume/volume up
scroll-down = ~/i3-volume/volume down
click-left = ~/i3-volume/volume mute
click-right = exec pavucontrol &

Don't forget to specify where to put the module. Example:

modules-right = i3-volume

And lastly, restart polybar.


Notifications

i3-volume supports several different programs for on-screen notifications. Including but not limited to dunst and notify-osd. Read more