diff --git a/machines/xps/home-mandlm.nix b/machines/xps/home-mandlm.nix index 6ba273d..8859ccc 100644 --- a/machines/xps/home-mandlm.nix +++ b/machines/xps/home-mandlm.nix @@ -1,10 +1,39 @@ { config, lib, pkgs, user, ... }: { - wayland.windowManager.sway.config = { - output = { - eDP-1 = { - scale = "1.3"; + services.kanshi = { + enable = true; + + profiles = { + undocked = { + outputs = [ + { + criteria = "eDP-1"; + scale = 1.3; + status = "enable"; + } + ]; + }; + + home_office_right = { + outputs = [ + { + criteria = "Samsung Electric Company SMS24A450 H4MCA12730"; + scale = 1.0; + status = "enable"; + position = "0,0"; + } + { + criteria = "Samsung Electric Company SMS24A450 H4MCA12738"; + scale = 1.0; + status = "enable"; + position = "1920,0"; + } + { + criteria = "eDP-1"; + status = "disable"; + } + ]; }; }; };