diff --git a/gui.nix b/gui.nix index aa3180b..cab31d3 100644 --- a/gui.nix +++ b/gui.nix @@ -1,5 +1,6 @@ -{ pkgs, ... }: -{ +{ pkgs, ... }: let + unstable = import { }; +in { # Enable the X11 windowing system. services.xserver.enable = true; @@ -49,6 +50,7 @@ # Enable the sway window manager programs.sway = { enable = true; + package = unstable.sway; wrapperFeatures.gtk = true; }; # Use greetd as the displaymanager diff --git a/sway/odin b/sway/odin index 6ffc0a3..443afca 100644 --- a/sway/odin +++ b/sway/odin @@ -2,16 +2,21 @@ #workspace $ws1 output DP-6 #workspace $ws2 output HDMI-A-1 -# HDMI is the main output -output HDMI-A-1 pos 0 0 -output HDMI-A-1 adaptive_sync off -output DP-9 pos -430 1440 -output DP-9 adaptive_sync on -# Sometimes the DP identifier changes for some reason -output DP-6 pos -430 1440 -output DP-6 adaptive_sync on -output DP-10 pos -430 1440 -output DP-10 adaptive_sync on -# The HDMI gets messed up too :( -output HDMI-A-2 pos 0 0 -output HDMI-A-2 adaptive_sync off +output "Acer Technologies XV272U 0x0000A50C" { + mode 2560x1440@143.999Hz + pos 440 0 + transform normal + scale 1.0 + scale_filter nearest + adaptive_sync off + dpms on +} +output "LG Electronics LG ULTRAGEAR 307NTPC58464" { + mode 3440x1440@85.0Hz + pos 0 1440 + transform normal + scale 1.0 + scale_filter nearest + adaptive_sync on + dpms on +}