-
Notifications
You must be signed in to change notification settings - Fork 35
Installation
Beau Hastings edited this page Oct 28, 2020
·
4 revisions
- awk (POSIX compatible)
- pulseaudio-utils - if using PulseAudio
- alsa-utils - if using amixer
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:
cat i3volume-pulseaudio.conf >> ~/.config/i3/config
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.
i3-volume
supports several different programs for on-screen notifications. Including but not limited to dunst and notify-osd. Read more