Add m15 configuration to kanshi

This commit is contained in:
JuliusFreudenberger 2026-06-27 10:57:14 +02:00
parent f46b9ab129
commit c2d242301c

View file

@ -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"; }
];
}
];
};
}