Add initial sway configuration

Still misses configuration for login screen, lock screen and idle
management.
This commit is contained in:
JuliusFreudenberger 2026-02-09 23:30:53 +01:00
parent 7b585dec5a
commit 348bc866b7
5 changed files with 280 additions and 0 deletions

24
home/kanshi.nix Normal file
View file

@ -0,0 +1,24 @@
{
...
}: 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"; }
];
}
];
};
}