From 46b4ba80a94be61f4b5bc22d43fe2a58ebf94ab6 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Fri, 20 Jun 2025 16:28:13 +0200 Subject: [PATCH] hyprland monitors refactor config --- hosts/hurricane/hyprland-monitors.nix | 10 +++++----- hosts/wildfire/hyprland-monitors.nix | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hosts/hurricane/hyprland-monitors.nix b/hosts/hurricane/hyprland-monitors.nix index 3387314..110342e 100644 --- a/hosts/hurricane/hyprland-monitors.nix +++ b/hosts/hurricane/hyprland-monitors.nix @@ -1,8 +1,8 @@ { # Home Manager Hyprland monitors - wayland.windowManager.hyprland.extraConfig = '' - monitor = DP-3, 3440x1440@99.98, 0x0, auto; # Philips Ultrawide left - monitor = HDMI-A-1, 3440x1440@99.98, 3440x0, auto; # Philips Ultrawide right - monitor = eDP-1, 1920x1200@60.00, auto, auto # internal display - ''; + wayland.windowManager.hyprland.settings.monitor = [ + "DP-3, 3440x1440@99.98, 0x0, 1" # Philips Ultrawide left + "HDMI-A-1, 3440x1440@99.98, 3440x0, 1" # Philips Ultrawide right + "eDP-1, 1920x1200@60.00, 1" # internal display + ]; } diff --git a/hosts/wildfire/hyprland-monitors.nix b/hosts/wildfire/hyprland-monitors.nix index 17f7d05..11e1697 100644 --- a/hosts/wildfire/hyprland-monitors.nix +++ b/hosts/wildfire/hyprland-monitors.nix @@ -1,7 +1,7 @@ { # Home Manager Hyprland monitors - wayland.windowManager.hyprland.extraConfig = '' - monitor = DP-3, 2560x1440@143.97, 1920x-360, 1, vrr, 1; - monitor = HDMI-A-1, 1920x1080@59.94, 0x0, 1; - ''; + wayland.windowManager.hyprland.settings.monitor = [ + "DP-3, 2560x1440@143.97, 1920x-360, 1, vrr, 1" + "HDMI-A-1, 1920x1080@50.00, 0x0, 1" + ]; }