From c37bd06e37ae3ff80b55bd69b17397e8f0cc5d6b Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sun, 1 Oct 2023 00:05:08 +0200 Subject: [PATCH] I got a new monitor --- home/kagami-pc-home.nix | 6 +++--- home/modules/monitors.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/home/kagami-pc-home.nix b/home/kagami-pc-home.nix index c2a2339..dd05753 100644 --- a/home/kagami-pc-home.nix +++ b/home/kagami-pc-home.nix @@ -46,14 +46,14 @@ let scale = 1.5; top_x = builtins.ceil (3840 / scale); - top_y = builtins.ceil (((2160 / scale) - 1080) / 2); + top_y = 0; in with config.common.monitors; { ${home_4k.name} = { scale = toString scale; position = "0 0"; }; - ${home_1080.name} = { + ${home_1440.name} = { position = "${toString top_x} ${toString top_y}"; }; }; @@ -63,7 +63,7 @@ # For primary (barWith { extraSettings = { output = [ home_4k.name ]; }; }) # 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! diff --git a/home/modules/monitors.nix b/home/modules/monitors.nix index faea4a7..00512b8 100644 --- a/home/modules/monitors.nix +++ b/home/modules/monitors.nix @@ -17,9 +17,9 @@ let adaptive_sync = "on"; # render_bit_depth = "10"; }; - "home_1080" = { - name = "AOC 24G2W1G4 ATNN21A005410"; - mode = "1920x1080@144Hz"; + "home_1440" = { + name = "AOC Q27G2G3R3B VXJP6HA000442"; + mode = "2560x1440@165Hz"; adaptive_sync = "on"; };