Skip to content

Commit 74392c7

Browse files
committed
fix
1 parent f9499ca commit 74392c7

File tree

1 file changed

+27
-17
lines changed

1 file changed

+27
-17
lines changed

desktop/home.nix

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,34 @@
1515
];
1616
};
1717

18-
wayland.windowManager.sway.config.output = {
19-
"*" = {
20-
21-
adaptive_sync = "on";
22-
subpixel = "rgb";
23-
render_bit_depth = "10";
24-
allow_tearing = "yes";
25-
max_render_time = "off";
26-
hdr = "on";
27-
};
28-
"DP-1" = {
29-
position = "0 0";
30-
workspace = "1";
31-
};
32-
"DP-3" = {
33-
position = "2560 0";
34-
workspace = "10";
18+
wayland.windowManager.sway.config = {
19+
output = {
20+
"*" = {
21+
22+
adaptive_sync = "on";
23+
subpixel = "rgb";
24+
render_bit_depth = "10";
25+
allow_tearing = "yes";
26+
max_render_time = "off";
27+
hdr = "on";
28+
};
29+
"DP-1" = {
30+
position = "0 0";
31+
};
32+
"DP-3" = {
33+
position = "2560 0";
34+
};
3535
};
36+
workspaceOutputAssign = [
37+
{
38+
workspace = "1";
39+
output = "DP-1";
40+
}
41+
{
42+
workspace = "10";
43+
output = "DP-3";
44+
}
45+
];
3646
};
3747

3848
services = {

0 commit comments

Comments
 (0)