From f863395d03d24d2586f465d6939f00db0f602112 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 2 Dec 2024 01:17:53 +0300 Subject: [PATCH] Sway: Fix display aligns. --- host/x86_64-linux/dasha/default.nix | 5 +++++ host/x86_64-linux/desktop/default.nix | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/host/x86_64-linux/dasha/default.nix b/host/x86_64-linux/dasha/default.nix index 2a8f49c..3bcec24 100644 --- a/host/x86_64-linux/dasha/default.nix +++ b/host/x86_64-linux/dasha/default.nix @@ -18,6 +18,11 @@ gaming = true; work = true; }; + sway.extraConfig = [ + "output DP-1 pos 0 0" + "output DP-2 pos 1920 0" + "workspace 1 output DP-1" + ]; hwmon = { file = "temp1_input"; path = "/sys/devices/platform/coretemp.0/hwmon"; diff --git a/host/x86_64-linux/desktop/default.nix b/host/x86_64-linux/desktop/default.nix index c69f5f0..7f8dfe1 100644 --- a/host/x86_64-linux/desktop/default.nix +++ b/host/x86_64-linux/desktop/default.nix @@ -27,8 +27,8 @@ }; }; sway.extraConfig = [ - "output DP-3 pos 0,1080" - "output HDMI-A-1 mode 1920x1080@74.986Hz pos 780,0" + "output DP-3 pos 0 1080" + "output HDMI-A-1 mode 1920x1080@74.986Hz pos 780 0" "workspace 1 output HDMI-A-1" ]; hwmon = {