From eb40d6b06babf3c137436801f910afc609a2295e Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Fri, 31 Mar 2023 12:00:47 +0200 Subject: [PATCH] Autorandr: update definitions --- hm_modules/autorandr.nix | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/hm_modules/autorandr.nix b/hm_modules/autorandr.nix index a7ce7c3..bdd9103 100644 --- a/hm_modules/autorandr.nix +++ b/hm_modules/autorandr.nix @@ -38,7 +38,7 @@ }; }; - odin-intel-laboratorio-dock-dell_dp = { + odin-intel-lab-dock = { fingerprint = { "DP1-2" = schermo_lab_dp.fingerprint; "eDP1" = dell-laptop.fingerprint; @@ -57,6 +57,25 @@ }; }; + odin-nvidia-lab-dock = { + fingerprint = { + "DP-1-1-2" = schermo_lab_dp.fingerprint; + "eDP-1-1" = dell-laptop.fingerprint; + }; + config = { + "DP-1-1-2" = { + inherit (schermo_lab_dp) mode dpi; + crtc = 0; + primary = true; + }; + "eDP-1-1" = { + inherit (dell-laptop) mode dpi; + crtc = 1; + position = "0x1080"; + }; + }; + }; + thor-default = { fingerprint = { "DP-2" =