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

79 lines
1.6 KiB
Nix
Raw Normal View History

2023-07-11 22:41:18 +05:30
_: {
2023-04-07 19:21:33 +05:30
services.kanshi = {
enable = true;
systemdTarget = "graphical-session.target";
2024-05-12 13:27:37 +05:30
settings = [
{
profile = {
name = "undocked";
outputs = [
{
criteria = "eDP-1";
mode = "1920x1080";
position = "0,0";
}
];
};
}
{
profile = {
name = "docked_1";
outputs = [
{
criteria = "eDP-1";
transform = "normal";
mode = "1920x1080";
position = "0,216";
scale = 1.25;
}
{
criteria = "DP-1";
transform = "normal";
position = "1536,0";
}
];
};
}
{
profile = {
name = "docked_2";
outputs = [
{
criteria = "eDP-1";
transform = "normal";
mode = "1920x1080";
position = "0,216";
scale = 1.25;
}
{
criteria = "DP-2";
transform = "normal";
position = "1536,0";
}
];
};
}
{
profile = {
name = "docked_3";
outputs = [
{
criteria = "eDP-1";
transform = "normal";
mode = "1920x1080";
position = "0,216";
scale = 1.25;
}
{
criteria = "DP-3";
transform = "normal";
position = "1536,0";
}
];
};
}
];
2023-03-15 22:11:59 +05:30
};
}