Update to address home-manager config changes
This commit is contained in:
parent
07478138d9
commit
8ec79eac11
|
@ -778,11 +778,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1719037157,
|
"lastModified": 1722462338,
|
||||||
"narHash": "sha256-aOKd8+mhBsLQChCu1mn/W5ww79ta5cXVE59aJFrifM8=",
|
"narHash": "sha256-ss0G8t8RJVDewA3MyqgAlV951cWRK6EtVhVKEZ7J5LU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "cd886711998fe5d9ff7979fdd4b4cbd17b1f1511",
|
"rev": "6e090576c4824b16e8759ebca3958c5b09659ee8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -76,16 +76,32 @@
|
||||||
# Multiple screen setup
|
# Multiple screen setup
|
||||||
services.kanshi = with config.common.monitors; {
|
services.kanshi = with config.common.monitors; {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles.undocked.outputs = [{
|
settings = [
|
||||||
|
{
|
||||||
|
profile.name = "undocked";
|
||||||
|
profile.outputs = [{ criteria = "eDP-1"; }];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
profile.name = "work-both";
|
||||||
|
profile.outputs = [
|
||||||
|
{
|
||||||
criteria = "eDP-1";
|
criteria = "eDP-1";
|
||||||
}];
|
position = "0,${toString (builtins.floor ((2160 / work.scale - 1200) + 1200 / 3))}";
|
||||||
profiles.work-both.outputs = [
|
status = "enable";
|
||||||
{ criteria = "eDP-1"; position = "0,${toString (builtins.floor ((2160 / work.scale - 1200) + 1200 / 3))}"; status = "enable"; }
|
}
|
||||||
{ criteria = work.name; position = "1920,0"; }
|
{ criteria = work.name; position = "1920,0"; }
|
||||||
];
|
];
|
||||||
profiles.work-one.outputs = [
|
}
|
||||||
{ criteria = "eDP-1"; status = "disable"; }
|
{
|
||||||
{ criteria = config.common.monitors.work.name; }
|
profile.name = "work-one";
|
||||||
|
profile.outputs = [
|
||||||
|
{
|
||||||
|
criteria = "eDP-1";
|
||||||
|
status = "disable";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{ output.criteria = config.common.monitors.work.name; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue