I have a terminal command that can control my external display's brightness. I'm trying to map that command to a key on the keyboard so it works like a "brightness up" and "brightness down" key.
Karabiner doesn't look like it supports mapping keys to terminal commands
Best Answer
I would use Automator to run a Shell Script and then add a keyboard shortcut to run that.
To do this:
NOTE: You will need to ensure it's not a shortcut already being used by macOS.