From 6dd500f280915d7e20e76cb5c1a4c117c9295501 Mon Sep 17 00:00:00 2001 From: Antoine Vaure Date: Mon, 21 Oct 2024 01:17:10 +0200 Subject: [PATCH] right monitor disposition for allegro --- hyprland.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hyprland.nix b/hyprland.nix index 477c76f..ee97ec3 100644 --- a/hyprland.nix +++ b/hyprland.nix @@ -1,5 +1,10 @@ { config, lib, pkgs, pkgs-unstable, pkgs-24_05, variant, ... }: { - home.packages = with pkgs; [ xdg-desktop-portal-hyprland ]; + home.packages = with pkgs; [ + xdg-desktop-portal + xdg-desktop-portal-gtk + xdg-desktop-portal-hyprland + xwayland + ]; home.sessionVariables = { NIXOS_OZONE_WL = "1"; @@ -303,9 +308,9 @@ monitor=HDMI-A-1, 1920x1080, auto, 1, mirror, eDP-1 '' else if variant == "allegro" then '' - monitor=eDP-1, 1920x1080, 0x0, 1 + monitor= DP-4, 1920x1200, 3840x0, 1 monitor= DP-3, 1920x1200, 1920x0, 1 - monitor= DP-4, 1920x1200, 3840x0, 1 + monitor=eDP-1, 1920x1080, 0x0, 1 monitor=HDMI-1, 1920x1080, auto, 1, mirror, eDP-1 monitor=HDMI-A-1, 1920x1080, auto, 1, mirror, eDP-1 ''