1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

kanshi: fix configuration example

(cherry picked from commit 5d151429e1)
This commit is contained in:
nurelin 2024-05-26 17:19:20 +02:00 committed by Robert Helgesson
parent 142d4365b5
commit a631666f5e
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -209,24 +209,26 @@ in {
Attribute set of profiles. Attribute set of profiles.
''; '';
example = literalExpression '' example = literalExpression ''
undocked = { {
outputs = [ undocked = {
{ outputs = [
criteria = "eDP-1"; {
} criteria = "eDP-1";
]; }
}; ];
docked = { };
outputs = [ docked = {
{ outputs = [
criteria = "eDP-1"; {
} criteria = "eDP-1";
{ }
criteria = "Some Company ASDF 4242"; {
transform = "90"; criteria = "Some Company ASDF 4242";
} transform = "90";
]; }
}; ];
};
}
''; '';
}; };
@ -247,28 +249,30 @@ in {
See kanshi(5) for informations. See kanshi(5) for informations.
''; '';
example = literalExpression '' example = literalExpression ''
{ include = "path/to/included/files"; } [
{ output.criteria = "eDP-1"; { include = "path/to/included/files"; }
output.scale = 2; { output.criteria = "eDP-1";
} output.scale = 2;
{ profile.name = "undocked"; }
profile.outputs = [ { profile.name = "undocked";
{ profile.outputs = [
criteria = "eDP-1"; {
} criteria = "eDP-1";
]; }
} ];
{ profile.name = "docked"; }
profile.outputs = [ { profile.name = "docked";
{ profile.outputs = [
criteria = "eDP-1"; {
} criteria = "eDP-1";
{ }
criteria = "Some Company ASDF 4242"; {
transform = "90"; criteria = "Some Company ASDF 4242";
} transform = "90";
]; }
} ];
}
]
''; '';
}; };