wertarbyte/autorandr — pull request #9 by maciex (2012-03-01 16:52:31+00:00)
Title: Fixed a problem with generating 'config' when one of the outputs has 'unknown connection' status in xrandr

When I boot my notebook with LID closed it's reported in xrandr as:
LVDS-1 unknown connection (normal left inverted right x axis y axis)

If a profile is saved in such case autrandr's config didn't have output's name in the first collumn:
$ diff ~/.autorandr/dock2/setup ~/.autorandr/dock/setup
1c1
< LVDS-1 00ffffffffffff00244d872800000000000f0103802115780abca59858558b2824505400000001010101010101010101010101010101a82f90e0601a1040204013004bcf10000019b72790e0601a1040204013004bcf100000190000000f00b30a32b30a28140100320c0000000000fe004c503135345730322d544c3036007f
---
> 00ffffffffffff00244d872800000000000f0103802115780abca59858558b2824505400000001010101010101010101010101010101a82f90e0601a1040204013004bcf10000019b72790e0601a1040204013004bcf100000190000000f00b30a32b30a28140100320c0000000000fe004c503135345730322d544c3036007f

This commit fixes the issue.

Regards
Maciej Sitarz