configuration.nix/home/wm/addon/kanshi.nix

52 lines
1.1 KiB
Nix
Raw Normal View History

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