get the current display output
$ xrandr | grep " connected" | cut -f1 -d " "
Set brightness from command line
$ xrandr --output [display output] --brightness [0.0 - 1.0]
Get current Brightness from command line
$ xrandr --verbose | awk '/Brightness/ { print $2; exit }'