Update modules/home/wayland/apps/kanshi/default.nix

This commit is contained in:
sora 2023-11-19 22:32:34 +01:00
parent 2c3f75c26c
commit d0b6c7256f

View File

@ -1,74 +1,87 @@
{ ... }: { { ... }: {
services.kanshi = { services.kanshi = {
enable = true; enable = true;
systemdTarget = "graphical-session.target"; systemdTarget = "graphical-session.target";
profiles = { profiles = {
tower_0 = { tower_0 = {
outputs = [{ outputs = [{
criteria = "CEX CX133 0x00000001"; criteria = "CEX CX133 0x00000001";
mode = "1920x1200@59.972"; mode = "1920x1200@59.972";
position = "0,0"; position = "0,0";
scale = 1.0; scale = 1.0;
status = "enable"; status = "enable";
}]; }];
}; };
tower_1 = { tower_1 = {
outputs = [{ outputs = [{
criteria = "AOC 16G3 1DDP7HA000348"; criteria = "AOC 16G3 1DDP7HA000348";
mode = "1920x1080@144.000"; mode = "1920x1080@144.000";
position = "0,0"; position = "0,0";
status = "enable"; status = "enable";
scale = 1.0; scale = 1.0;
adaptiveSync = true; adaptiveSync = true;
}]; }];
}; };
laptop_0 = { tower_2 = {
outputs = [{ outputs = [
criteria = "LG Display 0x060A Unknown"; {
mode = "1920x1080@60.020"; criteria = "AOC 16G3 1DDP7HA000348";
position = "0,0"; mode = "1920x1080@144.000";
scale = 1.0; position = "0,0";
status = "enable"; status = "enable";
}]; scale = 1.0;
}; adaptiveSync = true;
laptop_1 = { },
outputs = [ {
{ criteria = "CEX CX133 0x00000001";
criteria = "CEX CX133 0x00000001"; mode = "1920x1200@59.972";
mode = "2560x1600@59.972"; position = "0,1080";
position = "0,0"; scale = 1.0;
scale = 1.0; status = "enable";
status = "enable"; }
} ];
{ };
criteria = "LG Display 0x060A Unknown"; laptop_0 = {
mode = "1920x1080@60.020"; outputs = [];
position = "2560,0"; };
scale = 1.0; laptop_1 = {
status = "enable"; outputs = [
} {
]; criteria = "CEX CX133 0x00000001";
}; mode = "2560x1600@59.972";
laptop_2 = { position = "0,0";
outputs = [ scale = 1.0;
{ status = "enable";
criteria = "AOC 16G3 1DDP7HA000348"; }
mode = "1920x1080@144.000"; {
position = "0,0"; criteria = "LG Display 0x060A Unknown";
status = "enable"; mode = "1920x1080@60.020";
scale = 1.0; position = "2560,0";
adaptiveSync = true; scale = 1.0;
} status = "enable";
{ }
criteria = "LG Display 0x060A Unknown"; ];
mode = "1920x1080@60.020"; };
position = "1920,0"; laptop_2 = {
scale = 1.0; outputs = [
status = "enable"; {
} criteria = "AOC 16G3 1DDP7HA000348";
]; mode = "1920x1080@144.000";
}; position = "0,0";
}; status = "enable";
}; scale = 1.0;
} adaptiveSync = true;
}
{
criteria = "LG Display 0x060A Unknown";
mode = "1920x1080@60.020";
position = "1920,0";
scale = 1.0;
status = "enable";
}
];
};
};
};
}