Map fn + number keys to their corresponding function keys or media control keys (thanks to touch bar)
Download Link: https://pqrs.org/osx/karabiner/
-
Copy the json file to ~/.config/karabiner/assets/complex_modifications
-
Enable rule in the complex modifictaions tag in Karabiner, see the guide