From 081cc212890742a8d4be2803d2530ceb27df7627 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 7 Apr 2023 22:58:35 +0530 Subject: [PATCH] handle external outputs on different ports --- home/wm/addon/kanshi.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/home/wm/addon/kanshi.nix b/home/wm/addon/kanshi.nix index 8696d13..5046754 100644 --- a/home/wm/addon/kanshi.nix +++ b/home/wm/addon/kanshi.nix @@ -11,7 +11,7 @@ } ]; }; - docked = { + docked_1 = { outputs = [ { criteria = "eDP-1"; @@ -28,6 +28,23 @@ } ]; }; + docked_2 = { + outputs = [ + { + criteria = "eDP-2"; + transform = "normal"; + mode = "1920x1080"; + position = "0,216"; + scale = 1.25; + } + { + criteria = "DP-1"; + transform = "normal"; + mode = "1920x1080"; + position = "1536,0"; + } + ]; + }; }; }; }