Add initial sway configuration
Still misses configuration for login screen, lock screen and idle management.
This commit is contained in:
parent
7b585dec5a
commit
348bc866b7
5 changed files with 280 additions and 0 deletions
24
home/kanshi.nix
Normal file
24
home/kanshi.nix
Normal 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"; }
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue