configuration.nix/home/sway/kanshi.nix
2023-03-25 22:10:09 +05:30

31 lines
596 B
Nix

{...}: {
services.kanshi.enable = true;
services.kanshi.profiles = {
undocked = {
outputs = [
{
criteria = "eDP-1";
mode = "1920x1080";
position = "0,0";
}
];
};
docked = {
outputs = [
{
criteria = "eDP-1";
transform = "normal";
mode = "1920x1080";
position = "0,216";
scale = 1.25;
}
{
criteria = "DP-1";
transform = "normal";
mode = "1920x1080";
position = "1536,0";
}
];
};
};
}