Fix awk commands for xrandr version > 1.4

Fix awk commands to work with xrandr version 1.4 (requires bash to test version number).