trailblazer: fix up monitors

This commit is contained in:
Kate 2025-02-10 11:26:40 +01:00
parent ce8a2e6453
commit 2a2988bae5
3 changed files with 42 additions and 1 deletions

View file

@ -217,6 +217,14 @@ in
proportion = 1.0; proportion = 1.0;
}; };
} }
# Keep our system monitor on the monitoring screen.
{
matches = [ { app-id = "io.missioncenter.MissionCenter"; } ];
open-on-output = "Shenzhen Soogeen Electronics Co., LTD. L01N8A 0x01348C5C";
open-fullscreen = true;
open-focused = false;
}
]; ];
# #
@ -353,6 +361,7 @@ in
niri msg action spawn -- ${xwayland-satellite-loop}/bin/xwayland-satellite-loop niri msg action spawn -- ${xwayland-satellite-loop}/bin/xwayland-satellite-loop
niri msg action spawn -- home-assistant-desktop niri msg action spawn -- home-assistant-desktop
niri msg action spawn -- ${pkgs.mission-center}/bin/missioncenter
sleep 10 sleep 10

View file

@ -154,6 +154,38 @@ in
# #
# Niri configuration for our monitors. # Niri configuration for our monitors.
# #
home-manager.users.deprekated = {
programs.niri.settings = {
# Center monitor.
outputs."LG Electronics LG ULTRAFINE 408NTYT4A658" = {
position = {
x = 0;
y = 0;
};
scale = 1.5;
transform.rotation = 270;
};
# Laptop screen.
outputs."Samsung Electric Company Odyssey G70B H1AK50000" = {
position = {
x = 1440;
y = 0;
};
scale = 1.5;
};
# Front panel display.
outputs."Shenzhen Soogeen Electronics Co., LTD. L01N8A 0x01348C5C" = {
scale = 1.0;
transform.rotation = 90;
};
};
# Also position waybar on only one monitor.
programs.waybar.settings.mainBar.output = "DP-2";
};
# Override stylix font sizes. # Override stylix font sizes.
stylix.fonts.sizes.desktop = lib.mkForce 16; stylix.fonts.sizes.desktop = lib.mkForce 16;

View file

@ -13,7 +13,7 @@
let let
# Hack wine to not explode when starting MLO. # Hack wine to not explode when starting MLO.
wineWayland = pkgs.wineWowPackages.waylandFull; wineWayland = pkgs.wineWowPackages.full;
wine = wineWayland.overrideAttrs (prev: { wine = wineWayland.overrideAttrs (prev: {
patches = prev.patches ++ [ patches = prev.patches ++ [