2024-06-02 10:06:14 +00:00
|
|
|
{ ... }:
|
2024-01-12 22:31:01 +00:00
|
|
|
|
|
|
|
{
|
2024-01-13 19:41:39 +00:00
|
|
|
services.kanshi = {
|
|
|
|
enable = true;
|
|
|
|
|
2024-06-02 10:06:14 +00:00
|
|
|
settings = [
|
|
|
|
{
|
|
|
|
profile = {
|
|
|
|
name = "undocked";
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
scale = 1.3;
|
|
|
|
status = "enable";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
profile = {
|
|
|
|
name = "home_office";
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "Samsung Electric Company SMS24A450 H4MCA12738";
|
|
|
|
mode = "1920x1200";
|
|
|
|
scale = 1.0;
|
|
|
|
status = "enable";
|
|
|
|
position = "0,0";
|
|
|
|
transform = "normal";
|
|
|
|
}
|
|
|
|
{
|
2024-06-05 20:48:52 +00:00
|
|
|
criteria = "Acer Technologies Acer PE270K 0x0027A150";
|
|
|
|
mode = "3840x2160";
|
|
|
|
scale = 1.75;
|
2024-06-02 10:06:14 +00:00
|
|
|
status = "enable";
|
2024-06-05 20:48:52 +00:00
|
|
|
position = "1920,-200";
|
2024-06-02 10:06:14 +00:00
|
|
|
transform = "270";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
status = "disable";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
exec = ''
|
|
|
|
exec swaymsg workspace 0, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12738"'
|
|
|
|
exec swaymsg workspace 8, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12738"'
|
|
|
|
exec swaymsg workspace 6, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12738"'
|
|
|
|
exec swaymsg workspace 4, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12738"'
|
|
|
|
exec swaymsg workspace 2, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12738"'
|
2024-01-13 19:41:39 +00:00
|
|
|
|
2024-06-05 20:48:52 +00:00
|
|
|
exec swaymsg workspace 9, move workspace to output '"Acer Technologies Acer PE270K 0x0027A150"'
|
|
|
|
exec swaymsg workspace 7, move workspace to output '"Acer Technologies Acer PE270K 0x0027A150"'
|
|
|
|
exec swaymsg workspace 5, move workspace to output '"Acer Technologies Acer PE270K 0x0027A150"'
|
|
|
|
exec swaymsg workspace 3, move workspace to output '"Acer Technologies Acer PE270K 0x0027A150"'
|
|
|
|
exec swaymsg workspace 1, move workspace to output '"Acer Technologies Acer PE270K 0x0027A150"'
|
2024-06-02 10:06:14 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2024-01-12 22:31:01 +00:00
|
|
|
};
|
|
|
|
}
|