2023-03-29 21:48:55 +05:30
|
|
|
{ ... }: {
|
2023-04-07 19:21:33 +05:30
|
|
|
services.kanshi = {
|
|
|
|
enable = true;
|
2023-04-08 14:40:44 +05:30
|
|
|
systemdTarget = "graphical-session.target";
|
2023-04-07 19:21:33 +05:30
|
|
|
profiles = {
|
|
|
|
undocked = {
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
mode = "1920x1080";
|
|
|
|
position = "0,0";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-04-07 22:58:35 +05:30
|
|
|
docked_1 = {
|
2023-04-07 19:21:33 +05:30
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
transform = "normal";
|
|
|
|
mode = "1920x1080";
|
|
|
|
position = "0,216";
|
|
|
|
scale = 1.25;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "DP-1";
|
|
|
|
transform = "normal";
|
|
|
|
position = "1536,0";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-04-07 22:58:35 +05:30
|
|
|
docked_2 = {
|
|
|
|
outputs = [
|
|
|
|
{
|
2023-04-08 01:26:11 +05:30
|
|
|
criteria = "eDP-1";
|
2023-04-07 22:58:35 +05:30
|
|
|
transform = "normal";
|
|
|
|
mode = "1920x1080";
|
|
|
|
position = "0,216";
|
|
|
|
scale = 1.25;
|
|
|
|
}
|
|
|
|
{
|
2023-04-08 01:26:11 +05:30
|
|
|
criteria = "DP-2";
|
2023-04-07 22:58:35 +05:30
|
|
|
transform = "normal";
|
|
|
|
position = "1536,0";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|