From 721cf493e17a997ce0f4e18ad1ef80f4b4c97c58 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Thu, 22 Aug 2024 12:48:36 +0100 Subject: [PATCH] move hyprland monitor settings to extraConfig where they belong --- hosts/gabbielaptop/home.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/gabbielaptop/home.nix b/hosts/gabbielaptop/home.nix index a276b85..93fbcbe 100644 --- a/hosts/gabbielaptop/home.nix +++ b/hosts/gabbielaptop/home.nix @@ -80,12 +80,19 @@ xwayland.enable = true; # Autostart using systemd # systemd.enable = true; - extraConfig = "exec-once = waybar"; + extraConfig = '' + exec-once = waybar + + # Monitor settings copied from plasma + monitor = DP-2, 1920x1080@144, 1920x0, 1 + monitor = DP-3, 1920x1080@144, 0x0, 1 + monitor = eDP-2, 2560x1600@265, 1500x1080, 1.5 + ''; }; # Hyprland configuration wayland.windowManager.hyprland.settings = { "$mod" = "SUPER"; - kb_layout = "gb"; + input = { kb_layout = "gb"; }; bind = [ "$mod, F, exec, firefox"