How to set up volume/brightness keys?

I am trying to transition into using standalone window managers, but the main issue I keep running into is how to set up the volume/brightness keys to function properly. I have tried many things from various sites, but always end up with the same error: Failed to execute child process. Any help would be great.

I figured it out: sudo pacman -S alsamixer