43 lines
2.4 KiB
Nix
43 lines
2.4 KiB
Nix
{ pkgs, config, lib, ... }: {
|
|
home-manager.users.balsoft.xsession.windowManager.i3.config.startup = [{
|
|
command = "${pkgs.autorandr}/bin/autorandr -c --force --default horizontal";
|
|
always = true;
|
|
}];
|
|
home-manager.users.balsoft.xsession.windowManager.i3.config.keybindings."${
|
|
config.home-manager.users.balsoft.xsession.windowManager.i3.config.modifier
|
|
}+p" = "exec ${pkgs.autorandr}/bin/autorandr -c --default horizontal";
|
|
home-manager.users.balsoft.programs.autorandr = {
|
|
enable = true;
|
|
profiles = {
|
|
dacha = {
|
|
fingerprint = {
|
|
HDMI1 =
|
|
"00ffffffffffff0010ac14a0505441322e0f010380221b782ec5c6a3574a9c23124f54a54b00714f8180010101010101010101010101302a009851002a4030701300520e1100001e000000fd003c4b1f500e000a202020202020000000fc0044454c4c204531373646500a20000000ff004d43303433354248324154500a013a02031b61230907078301000067030c002000802d43908402e2000f8c0ad08a20e02d10103e9600a05a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000029";
|
|
HDMI2 =
|
|
"00ffffffffffff0006b3cc24010101011a1a010380351e78ea0565a756529c270f5054afcf80714f8180818fb30081409500a9408bc0023a801871382d40582c45000f282100001e000000fd00304b1e5311000a202020202020000000fc00565a3234390a20202020202020000000ff0047364c4d52533034383636390a018902031df14a900403011412051f1013230907078301000065030c001000023a801871382d40582c45000f282100001e011d8018711c1620582c25000f282100009e011d007251d01e206e2855000f282100001e8c0ad08a20e02d10103e96000f282100001800000000000000000000000000000000000000000000000000004a";
|
|
eDP1 =
|
|
"00ffffffffffff000dae61130000000007180104a51d117802ce85a3574e9d2612505400000001010101010101010101010101010101363680a0703820402e1e240025a510000018242480a0703820402e1e240025a510000018000000fe00434d4e0a202020202020202020000000fe004e3133334853452d4541330a2000a1";
|
|
};
|
|
config = {
|
|
eDP1 = {
|
|
enable = true;
|
|
position = "0x1024";
|
|
mode = "1368x768";
|
|
};
|
|
HDMI1 = {
|
|
enable = true;
|
|
position = "0x0";
|
|
mode = "1280x1024";
|
|
};
|
|
HDMI2 = {
|
|
enable = true;
|
|
position = "1368x1024";
|
|
mode = "1920x1080";
|
|
primary = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|