setting up the media volume keys on the dwl wayland tiling window manager
using the mixer command to raise, lower and mute the volume
update you dont need to import the xf86 header, dwl already imports a version we can use
updated code
/* commands */
static const char *volumeup[] = {...
I upgraded my old desktop computer to FreeBSD 13.1 with KDE Plsama 5.24.5. It booted fine but no sound output.
There are 4 sound devices:
% ll /dev/dsp*
crw-rw-rw- 1 root wheel 0x12c 10 Jun 15:08 /dev/dsp0.0
crw-rw-rw- 1 root wheel 0x129 10 Jun 17:47 /dev/dsp3.0
crw-rw-rw- 1 root wheel...
I wanted to be able to change the volume of a sink from the terminal. I had been using mate-volume-control, but it was annoying to have to open that gui every time I wanted to change the volume. I had also previously been using mate-volume-control to toggle output sources (speaker/headphones)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.