2023-01-29 19:59:36 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
home.packages = with pkgs; [ kanshi ];
|
|
|
|
|
|
|
|
services.kanshi = {
|
|
|
|
enable = true;
|
|
|
|
profiles = {
|
|
|
|
standalone = {
|
|
|
|
outputs = [{
|
|
|
|
criteria = "LVDS-1";
|
|
|
|
mode = "1366x768@60Hz";
|
|
|
|
status = "enable";
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
docked = {
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "LVDS-1";
|
|
|
|
status = "disable";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "BNQ BenQ GW2780 L9K0033101Q";
|
|
|
|
mode = "1920x1080@60Hz";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-02-03 17:41:33 +01:00
|
|
|
|
|
|
|
docked2 = {
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "LVDS-1";
|
|
|
|
status = "disable";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "BenQ Corporation BenQ GW2780 L9K0033101Q";
|
|
|
|
mode = "1920x1080@60Hz";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-01-29 19:59:36 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|