I got a new monitor

This commit is contained in:
Natsu Kagami 2023-10-01 00:05:08 +02:00
parent 2ca22810da
commit c37bd06e37
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 6 additions and 6 deletions

View file

@ -46,14 +46,14 @@
let let
scale = 1.5; scale = 1.5;
top_x = builtins.ceil (3840 / scale); top_x = builtins.ceil (3840 / scale);
top_y = builtins.ceil (((2160 / scale) - 1080) / 2); top_y = 0;
in in
with config.common.monitors; { with config.common.monitors; {
${home_4k.name} = { ${home_4k.name} = {
scale = toString scale; scale = toString scale;
position = "0 0"; position = "0 0";
}; };
${home_1080.name} = { ${home_1440.name} = {
position = "${toString top_x} ${toString top_y}"; position = "${toString top_x} ${toString top_y}";
}; };
}; };
@ -63,7 +63,7 @@
# For primary # For primary
(barWith { extraSettings = { output = [ home_4k.name ]; }; }) (barWith { extraSettings = { output = [ home_4k.name ]; }; })
# For secondary, hide mpd # For secondary, hide mpd
(barWith { showMedia = false; showConnectivity = false; extraSettings = { output = [ home_1080.name ]; }; }) (barWith { showMedia = false; showConnectivity = false; extraSettings = { output = [ home_1440.name ]; }; })
]; ];
# Yellow light! # Yellow light!

View file

@ -17,9 +17,9 @@ let
adaptive_sync = "on"; adaptive_sync = "on";
# render_bit_depth = "10"; # render_bit_depth = "10";
}; };
"home_1080" = { "home_1440" = {
name = "AOC 24G2W1G4 ATNN21A005410"; name = "AOC Q27G2G3R3B VXJP6HA000442";
mode = "1920x1080@144Hz"; mode = "2560x1440@165Hz";
adaptive_sync = "on"; adaptive_sync = "on";
}; };