2022-07-07 13:33:38 +00:00
|
|
|
{ config, lib, pkgs, user, ... }:
|
|
|
|
|
|
|
|
{
|
2024-01-14 16:15:21 +00:00
|
|
|
services.kanshi = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
profiles = {
|
|
|
|
home_office_left = {
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "Samsung Electric Company U28E590 HTPJ404252";
|
|
|
|
scale = 1.5;
|
|
|
|
status = "enable";
|
|
|
|
position = "0,526";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "Samsung Electric Company U28E590 HTPJ300612";
|
|
|
|
scale = 1.5;
|
|
|
|
status = "enable";
|
|
|
|
position = "2560,0";
|
|
|
|
transform = "270";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
status = "disable";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
exec = ''
|
|
|
|
exec swaymsg workspace 0, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
|
|
|
exec swaymsg workspace 8, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
|
|
|
exec swaymsg workspace 6, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
|
|
|
exec swaymsg workspace 4, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
|
|
|
exec swaymsg workspace 2, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
|
|
|
|
|
|
|
exec swaymsg workspace 9, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
|
|
|
exec swaymsg workspace 7, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
|
|
|
exec swaymsg workspace 5, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
|
|
|
exec swaymsg workspace 3, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
|
|
|
exec swaymsg workspace 1, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
|
|
|
'';
|
2023-09-25 12:17:55 +00:00
|
|
|
};
|
2024-01-14 16:15:21 +00:00
|
|
|
|
|
|
|
home_office_right = {
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "Samsung Electric Company SMS24A450 H4MCA12730";
|
|
|
|
scale = 1.0;
|
|
|
|
status = "enable";
|
|
|
|
position = "0,0";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "Samsung Electric Company SMS24A450 H4MCA12738";
|
|
|
|
scale = 1.0;
|
|
|
|
status = "enable";
|
|
|
|
position = "1920,0";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
status = "disable";
|
|
|
|
}
|
|
|
|
];
|
2023-09-25 12:17:55 +00:00
|
|
|
};
|
|
|
|
};
|
2024-01-14 16:15:21 +00:00
|
|
|
};
|
2023-09-25 12:17:55 +00:00
|
|
|
|
2024-01-14 16:15:21 +00:00
|
|
|
wayland.windowManager.sway.config = {
|
2022-07-07 13:33:38 +00:00
|
|
|
workspaceOutputAssign = [
|
2023-09-25 12:17:55 +00:00
|
|
|
{ workspace = "0"; output = "DP-2"; }
|
|
|
|
{ workspace = "1"; output = "DP-3"; }
|
|
|
|
{ workspace = "2"; output = "DP-2"; }
|
|
|
|
{ workspace = "3"; output = "DP-3"; }
|
|
|
|
{ workspace = "4"; output = "DP-2"; }
|
|
|
|
{ workspace = "5"; output = "DP-3"; }
|
|
|
|
{ workspace = "6"; output = "DP-2"; }
|
|
|
|
{ workspace = "7"; output = "DP-3"; }
|
|
|
|
{ workspace = "8"; output = "DP-2"; }
|
|
|
|
{ workspace = "9"; output = "DP-3"; }
|
2022-07-07 13:33:38 +00:00
|
|
|
];
|
2023-09-25 12:17:55 +00:00
|
|
|
};
|
2022-07-07 13:33:38 +00:00
|
|
|
}
|