nrocco / xprofile

A tool to manage and automatically apply xrandr configurations
GNU General Public License v3.0
10 stars 3 forks source link

creating muliple profiles doesn't work #3

Closed Mischi closed 6 years ago

Mischi commented 10 years ago

Hi,

creating a second profile fails when executing the following command where the edid and profile is not yet used in xprofilerc(5).

xprofile create newprofile

I think this is a regression from this commit. ca2699251aaea9c9035e12028b42e7762db71d81

I've prepared a patch to fix this and added an test case for this regression. The patch depends on my PR: #2, so i will send a second PR as soon as you have taken a look at it. You find my proposed fix for this problem here mischi/xprofile@7f7fe149a7dc56c0b0af2abb08a6d6e3660c36cc

Feedback is as always welcome!

Regards, Fabian

nrocco commented 10 years ago

@Mischi thanks for finding and submitting this issue. As soon as I have access to a X11 workstation I'll try to reproduce it and see how you fixed it.

Btw, I just merged PR #2 into origin/master