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

i3-volume can be used with KOSD notifications. KOSD is a simple framework for the KDE Desktop providing an OSD in response to media key presses.

KOSD notifications

Example with PulseAudio

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

Example with amixer

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

Then reload [i3wm] with mod+Shift+r

Clone this wiki locally