Brightness Shortcut Mac -

osascript -e 'tell application "System Events"' -e 'repeat 10 times' -e 'key code 107' -e 'end repeat' -e 'end tell' # decrease osascript -e 'tell application "System Events"' -e 'repeat 10 times' -e 'key code 113' -e 'end repeat' -e 'end tell' # increase (Or use brightness 0.5 if you install the brightness CLI tool.)