From 82268d652ad5449e9eb265961434a53de73bac11 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Mon, 6 Jan 2025 12:59:30 +0000 Subject: [PATCH] switched to using monitor descriptions rather than monitor names so that replugging doesnt mess up the config and use auto for placement --- home-manager/hyprland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index 5321944..dfcd08c 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -11,8 +11,8 @@ # Monitor config for home desk layout monitor = [ "eDP-2, 2560x1600@165, 0x0, auto" # main laptop monitor - "DP-2, 1920x1080@119.98, -960x-1080, auto" # left external monitor - "DP-3, 1920x1080@119.98, 960x-1080, auto" # right external monitor + "desc:Lenovo Group Limited LEN G24-10 U5B4KL78, 1920x1080@119.98, -960x-1080, auto" # left external monitor + "desc:Lenovo Group Limited LEN G24-10 U5B4ZAM2, 1920x1080@119.98, 960x-1080, auto" # right external monitor ]; # Define SUPER key as mod key