sway: Finally get my multi-monitor setup fixed

This commit is contained in:
fleaz 2025-02-18 22:16:22 +01:00
parent 8cfe753e4e
commit 5b3e6d859b
Signed by: fleaz
GPG key ID: 935474624265FE8F
2 changed files with 47 additions and 41 deletions

View file

@ -1,15 +1,18 @@
{ nixosConfig, ... }:
let
machines = {
smithers = [{
profile.name = "laptop-only";
profile.outputs = [
{
criteria = "eDP-1";
scale = 1.3;
}
];
}
smithers = [
{
profile.name = "laptop-only";
profile.outputs = [
{
criteria = "eDP-1";
status = "enable";
scale = 1.3;
mode = "2256x1504@59.999Hz";
}
];
}
{
profile.name = "homeoffice";
profile.outputs = [
@ -18,17 +21,20 @@ let
status = "disable";
}
{
criteria = "DP-10";
scale = 1.3;
criteria = "Samsung Electric Company U28E590 HTPJ109320";
scale = 1.4;
position = "0,0";
mode = "3840x2160@60.000Hz";
}
{
criteria = "DP-9";
scale = 1.3;
position = "2952,0";
criteria = "Samsung Electric Company U28E590 HTPM402579";
scale = 1.4;
position = "2743,0";
mode = "3840x2160@60.000Hz";
}
];
}];
}
];
};
in
{