Update kanshi config

This commit is contained in:
Jakob Lechner 2025-01-17 17:36:30 +01:00
parent 3e1b573df8
commit d3e7c79dde

View file

@ -18,32 +18,53 @@ lib.mkIf nixosConfig.jalr.gui.enable {
xdg-utils
];
services.kanshi = {
enable = true;
settings = [
{
profile.name = "laemmermann";
profile.outputs = [
{
criteria = "ViewSonic Corporation VX3276-QHD VSX2403A0490";
status = "enable";
mode = "2560x1440@59.951Hz";
position = "0,0";
}
{
criteria = "ViewSonic Corporation VX3276-QHD VSX2351A0801";
status = "enable";
mode = "2560x1440@59.951Hz";
position = "2560,0";
}
{
criteria = "eDP-1";
status = "enable";
mode = "2560x1600";
position = "5120,0";
}
];
}
];
};
services.kanshi =
let
internalDisplay = {
criteria = "BOE 0x0BC9 Unknown";
status = "enable";
mode = "2560x1600";
};
in
{
enable = true;
settings = [
{
profile.name = "laemmermann";
profile.outputs = [
{
criteria = "ViewSonic Corporation VX3276-QHD VSX2403A0490";
status = "enable";
mode = "2560x1440@59.951Hz";
position = "0,0";
}
{
criteria = "ViewSonic Corporation VX3276-QHD VSX2351A0801";
status = "enable";
mode = "2560x1440@59.951Hz";
position = "2560,0";
}
(internalDisplay // { position = "5120,0"; })
];
}
{
profile.name = "digitaler-dienst";
profile.outputs = [
(internalDisplay // { position = "0,0"; })
{
criteria = "Lenovo Group Limited L27q-38 URB731YF";
status = "enable";
mode = "2560x1440@59.951Hz";
position = "2048,0";
}
{
criteria = "Lenovo Group Limited L27q-35 URB5T16R";
status = "enable";
mode = "2560x1440@59.951Hz";
position = "4380,0";
}
];
}
];
};
}