2024-07-23 19:12:34 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.kanshi = {
|
|
|
|
enable = true;
|
|
|
|
systemdTarget="";
|
|
|
|
|
|
|
|
settings = [
|
|
|
|
{
|
2024-07-28 20:06:28 +00:00
|
|
|
profile.name = "office";
|
2024-07-23 19:12:34 +00:00
|
|
|
profile.outputs = [
|
|
|
|
{
|
|
|
|
criteria = "DP-1";
|
|
|
|
position = "1080,550";
|
|
|
|
mode = "1920x1080@120Hz";
|
|
|
|
adaptiveSync = true;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "DP-2";
|
|
|
|
position = "0,0";
|
|
|
|
mode = "1920x1080@120Hz";
|
|
|
|
transform = "90";
|
|
|
|
adaptiveSync = true;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "HDMI-A-1";
|
|
|
|
position = "3000,550";
|
|
|
|
mode = "1920x1080@60Hz";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
2024-07-28 20:06:28 +00:00
|
|
|
{
|
|
|
|
profile.name = "home";
|
|
|
|
profile.outputs = [
|
|
|
|
{
|
|
|
|
criteria = "HDMI-A-1";
|
|
|
|
mode = "1920x1080";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
2024-07-23 19:12:34 +00:00
|
|
|
{
|
|
|
|
profile.name = "laptop";
|
|
|
|
profile.outputs = [
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
mode = "1920x1080";
|
|
|
|
transform = "normal";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
# {
|
|
|
|
# profile.name = "tablet";
|
|
|
|
# profile.outputs = [
|
|
|
|
# {
|
|
|
|
# criteria = "eDP-1";
|
|
|
|
# mode = "1920x1080";
|
|
|
|
# transform = "180";
|
|
|
|
# }
|
|
|
|
# ];
|
|
|
|
# }
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|