nix-config/home/kanshi.nix
JuliusFreudenberger 348bc866b7 Add initial sway configuration
Still misses configuration for login screen, lock screen and idle
management.
2026-02-09 23:30:53 +01:00

24 lines
528 B
Nix

{
...
}: let
t27 = "Lenovo Group Limited T27h-30 V5HGY026";
in {
services.kanshi = {
enable = true;
settings = [
{ output.criteria = "eDP-1"; output.scale = 1.0; }
{ output.criteria = t27; }
{ profile.name = "mobile";
profile.outputs = [
{ criteria = "eDP-1"; }
];
}
{ profile.name = "t27" ;
profile.outputs = [
{ criteria = "eDP-1"; position = "152,1440"; }
{ criteria = t27; position = "0,0"; }
];
}
];
};
}