mtworx: home autorandr setup

This commit is contained in:
Motiejus Jakštys 2024-03-13 14:23:21 +02:00 committed by Motiejus Jakštys
parent 91b56d6d45
commit b35a2ab8e4
2 changed files with 26 additions and 0 deletions

View File

@ -144,6 +144,28 @@ in {
}; };
}; };
dualhome = {
fingerprint = {
inherit (randr) eDP-1;
inherit (randr.home) DP-3 HDMI-1;
};
config = {
eDP-1.enable = false;
HDMI-1 = {
enable = true;
mode = "2560x1440";
position = "0x0";
crtc = 1;
};
DP-3 = {
enable = true;
mode = "2560x1440";
position = "2560x0";
crtc = 2;
};
};
};
work = { work = {
fingerprint = { fingerprint = {
inherit (randr) eDP-1; inherit (randr) eDP-1;

View File

@ -3,4 +3,8 @@
work = { work = {
DP-3 = "00ffffffffffff001e6d07778068040002200104b53c22789e3e31ae5047ac270c50542108007140818081c0a9c0d1c08100010101014dd000a0f0703e803020650c58542100001a286800a0f0703e800890650c58542100001a000000fd00383d1e8738000a202020202020000000fc004c472048445220344b0a202020017e0203197144900403012309070783010000e305c000e3060501023a801871382d40582c450058542100001e565e00a0a0a029503020350058542100001a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000029"; DP-3 = "00ffffffffffff001e6d07778068040002200104b53c22789e3e31ae5047ac270c50542108007140818081c0a9c0d1c08100010101014dd000a0f0703e803020650c58542100001a286800a0f0703e800890650c58542100001a000000fd00383d1e8738000a202020202020000000fc004c472048445220344b0a202020017e0203197144900403012309070783010000e305c000e3060501023a801871382d40582c450058542100001e565e00a0a0a029503020350058542100001a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000029";
}; };
home = {
DP-3 = "00ffffffffffff0010ac31424c38334114200104b53c22783eee95a3544c99260f5054a54b00714f8180a9c0a940d1c0010101010101565e00a0a0a029503020350055502100001a000000ff004a4450444448330a2020202020000000fc0044454c4c20553237323244450a000000fd00314c1e5a19010a2020202020200146020319f14c90040302011112131f20212223097f0783010000023a801871382d40582c450055502100001e7e3900a080381f4030203a0055502100001a011d007251d01e206e28550055502100001ebf1600a08038134030203a0055502100001a00000000000000000000000000000000000000000000000000000000000006";
HDMI-1 = "00ffffffffffff0010ac8b4157343231151d0103803c2278eab6e5a9534ca3250a5054a54b00714f8180a940d1c00101010101010101565e00a0a0a029503020350055502100001a000000ff004343315a4d53320a2020202020000000fc0044454c4c20533237313944430a000000fd00304b1e7820000a20202020202001a3020327f149101f0413121103020123097f078301000067030c0010000040681a00000101304be6a073006aa0a029500820350055502100001a023a801871382d40582c450055502100001e7e3900a080381f4030203a0055502100001a011d007251d01e206e28550055502100001e00000000000000000000000000000000aa";
};
} }