feat(kanshi): set display modes

main
mandlm 2024-01-22 07:51:58 +01:00
parent 650dbbe607
commit 768de1f725
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 6 additions and 30 deletions

View File

@ -9,12 +9,14 @@
outputs = [ outputs = [
{ {
criteria = "Samsung Electric Company U28E590 HTPJ404252"; criteria = "Samsung Electric Company U28E590 HTPJ404252";
mode = "3840x2160";
scale = 1.5; scale = 1.5;
status = "enable"; status = "enable";
position = "0,526"; position = "0,526";
} }
{ {
criteria = "Samsung Electric Company U28E590 HTPJ300612"; criteria = "Samsung Electric Company U28E590 HTPJ300612";
mode = "3840x2160";
scale = 1.5; scale = 1.5;
status = "enable"; status = "enable";
position = "2560,0"; position = "2560,0";
@ -35,36 +37,6 @@
exec swaymsg workspace 1, move workspace to output '"Samsung Electric Company U28E590 HTPJ404252"' exec swaymsg workspace 1, move workspace to output '"Samsung Electric Company U28E590 HTPJ404252"'
''; '';
}; };
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";
}
];
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"'
exec swaymsg workspace 9, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12730"'
exec swaymsg workspace 7, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12730"'
exec swaymsg workspace 5, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12730"'
exec swaymsg workspace 3, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12730"'
exec swaymsg workspace 1, move workspace to output '"Samsung Electric Company SMS24A450 H4MCA12730"'
'';
};
}; };
}; };
} }

View File

@ -19,12 +19,14 @@
outputs = [ outputs = [
{ {
criteria = "Samsung Electric Company U28E590 HTPJ404252"; criteria = "Samsung Electric Company U28E590 HTPJ404252";
mode = "3840x2160";
scale = 1.5; scale = 1.5;
status = "enable"; status = "enable";
position = "0,526"; position = "0,526";
} }
{ {
criteria = "Samsung Electric Company U28E590 HTPJ300612"; criteria = "Samsung Electric Company U28E590 HTPJ300612";
mode = "3840x2160";
scale = 1.5; scale = 1.5;
status = "enable"; status = "enable";
position = "2560,0"; position = "2560,0";
@ -54,12 +56,14 @@
outputs = [ outputs = [
{ {
criteria = "Samsung Electric Company SMS24A450 H4MCA12730"; criteria = "Samsung Electric Company SMS24A450 H4MCA12730";
mode = "1920x1200";
scale = 1.0; scale = 1.0;
status = "enable"; status = "enable";
position = "0,0"; position = "0,0";
} }
{ {
criteria = "Samsung Electric Company SMS24A450 H4MCA12738"; criteria = "Samsung Electric Company SMS24A450 H4MCA12738";
mode = "1920x1200";
scale = 1.0; scale = 1.0;
status = "enable"; status = "enable";
position = "1920,0"; position = "1920,0";