Add kanshi service ans configuration
This commit is contained in:
parent
93343473aa
commit
9bc37a8d8c
1 changed files with 46 additions and 0 deletions
46
modules/home/desktop/sway/kanshi.nix
Normal file
46
modules/home/desktop/sway/kanshi.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
_: {
|
||||
service.kanshi = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
home = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "Iiyama North America PL2792UH 1166310803122";
|
||||
mode = "3840x2160";
|
||||
position = "0,0";
|
||||
scale = 2;
|
||||
}
|
||||
{
|
||||
criteria = "Iiyama North America PL2792UH 1176923201598";
|
||||
mode = "3840x2160";
|
||||
position = "1920,0";
|
||||
transform = "270";
|
||||
scale = "2";
|
||||
}
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "disable";
|
||||
}
|
||||
];
|
||||
};
|
||||
work = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "Iiyama North America PL2480H 11183M2807013";
|
||||
mode = "1920x1080";
|
||||
position = "0,0";
|
||||
}
|
||||
{
|
||||
criteria = "Iiyama North America PL2480H 11183M2807016";
|
||||
mode = "1920x1080";
|
||||
position = "1920,0";
|
||||
}
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "disable";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue