From 9773d434dfd0f610fffe231407f7682c9fcd8dea Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Wed, 24 Jun 2020 09:39:24 +0300 Subject: [PATCH] Add second monitor --- modules/workspace/sway/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/workspace/sway/default.nix b/modules/workspace/sway/default.nix index b47d522..bc7ff8a 100755 --- a/modules/workspace/sway/default.nix +++ b/modules/workspace/sway/default.nix @@ -214,6 +214,9 @@ in { }; output = { "*".bg = "${thm.bg} solid_color"; + } // lib.optionalAttrs (config.device == "AMD-Workstation") { + DP-1.position = "0 400"; + HDMI-A-1 = { transform = "90"; position = "2560 0"; }; }; }; wrapperFeatures = {