menherahair (npub1n78…87ev)
> That awk fails to match xrandr's annoying output, I'd use 'x| +' for the field separator
If you run it in isolation, yes, awk would include remainder of the string into $2, however set -- always use whitespace separators, so extra $3 and above should be of no consequence.