-
Notifications
You must be signed in to change notification settings - Fork 35
Usage with XOSD
Beau Hastings edited this page Oct 27, 2020
·
4 revisions
i3-volume
can be used with XOSD notifications. XOSD is a library for displaying an on-screen display on your X display. Setup is simple and straight forward and requires little modification to your i3-volume
commands.
bindsym XF86AudioRaiseVolume exec --no-startup-id $volumepath/volume -n -t $statuscmd -u $statussig -N xosd up $volumestep
bindsym XF86AudioLowerVolume exec --no-startup-id $volumepath/volume -n -t $statuscmd -u $statussig -N xosd down $volumestep
bindsym XF86AudioMute exec --no-startup-id $volumepath/volume -n -t $statuscmd -u $statussig -N xosd mute
bindsym XF86AudioRaiseVolume exec --no-startup-id $volumepath/volume -an -t $statuscmd -u $statussig -N xosd up $volumestep
bindsym XF86AudioLowerVolume exec --no-startup-id $volumepath/volume -an -t $statuscmd -u $statussig -N xosd down $volumestep
bindsym XF86AudioMute exec --no-startup-id $volumepath/volume -an -t $statuscmd -u $statussig -N xosd mute
Then reload i3wm with mod+Shift+r