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

66 lines
1.4 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";
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";
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";
position = "1536,0";
}
];
};
2023-08-15 11:26:57 +05:30
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
};
};
}