manager

CLI volume MUTE script in FreeBSD

CLI volume control I like window managers (WMs) like spectrwm and like many of its kin, you have to set up media keys manually. There are two parts to this: (1) telling the WM what thing to do when a key is struck, and (2) do the thing. Part (1) is easy; for example in spectrwm it’s bind[vol_mt] = XF86AudioMute where we’re making a function called vol_mt (aka volume mute) where the input is the mute key on your keyboard.