Skip to content
Beau Hastings edited this page Oct 27, 2020 · 2 revisions

i3-volume can be used with volnoti notifications. volnoti is a lightweight volume notification daemon for GNU/Linux and other POSIX operating systems.It is based on GTK and D-Bus and should work with any sensible window manager.

volnoti notifications

Example with PulseAudio

bindsym XF86AudioRaiseVolume exec --no-startup-id $volumepath/volume -n -t $statuscmd -u $statussig -N volnoti up $volumestep
bindsym XF86AudioLowerVolume exec --no-startup-id $volumepath/volume -n -t $statuscmd -u $statussig -N volnoti down $volumestep
bindsym XF86AudioMute        exec --no-startup-id $volumepath/volume -n -t $statuscmd -u $statussig -N volnoti mute

Example with amixer

bindsym XF86AudioRaiseVolume exec --no-startup-id $volumepath/volume -an -t $statuscmd -u $statussig -N volnoti up $volumestep
bindsym XF86AudioLowerVolume exec --no-startup-id $volumepath/volume -an -t $statuscmd -u $statussig -N volnoti down $volumestep
bindsym XF86AudioMute        exec --no-startup-id $volumepath/volume -an -t $statuscmd -u $statussig -N volnoti mute

Then reload i3wm with mod+Shift+r

Clone this wiki locally