diff --git a/home/kanshi.nix b/home/kanshi.nix index f7ab682..c42b228 100644 --- a/home/kanshi.nix +++ b/home/kanshi.nix @@ -1,13 +1,15 @@ { ... }: let - t27 = "Lenovo Group Limited T27h-30 V5HGY026"; + t27 = "Lenovo Group Limited T27h-30*"; + m15 = "Lenovo Group Limited M15*"; in { services.kanshi = { enable = true; settings = [ { output.criteria = "eDP-1"; output.scale = 1.0; } { output.criteria = t27; } + { output.criteria = m15; } { profile.name = "mobile"; profile.outputs = [ { criteria = "eDP-1"; } @@ -19,6 +21,12 @@ in { { criteria = t27; position = "0,0"; } ]; } + { profile.name = "m15" ; + profile.outputs = [ + { criteria = "eDP-1"; position = "0,1080"; } + { criteria = m15; position = "168,0"; } + ]; + } ]; }; }