From c2d242301c3cd9bee9117a2d16afcd1f2fbb64aa Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Sat, 27 Jun 2026 10:57:14 +0200 Subject: [PATCH] Add m15 configuration to kanshi --- home/kanshi.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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"; } + ]; + } ]; }; }