fix other names
This commit is contained in:
parent
ece2cc7e08
commit
c6ade3cd09
1 changed files with 12 additions and 10 deletions
|
|
@ -14,8 +14,8 @@ let
|
||||||
automapaper-configs = builtins.map (
|
automapaper-configs = builtins.map (
|
||||||
{
|
{
|
||||||
name,
|
name,
|
||||||
horizontal-resolution,
|
horizontal,
|
||||||
vertical-resolution,
|
vertical,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
@ -43,8 +43,8 @@ let
|
||||||
cycles
|
cycles
|
||||||
;
|
;
|
||||||
display = name;
|
display = name;
|
||||||
horizontal = builtins.div horizontal-resolution horizontal-dot-size;
|
horizontal = builtins.div horizontal horizontal-dot-size;
|
||||||
vertical = builtins.div vertical-resolution vertical-dot-size;
|
vertical = builtins.div vertical vertical-dot-size;
|
||||||
})
|
})
|
||||||
) displays;
|
) displays;
|
||||||
in
|
in
|
||||||
|
|
@ -68,17 +68,19 @@ let
|
||||||
displays-string = pkgs.lib.strings.concatMapStringsSep "\n" (
|
displays-string = pkgs.lib.strings.concatMapStringsSep "\n" (
|
||||||
{
|
{
|
||||||
name,
|
name,
|
||||||
horizontal-resolution,
|
horizontal,
|
||||||
vertical-resolution,
|
vertical,
|
||||||
refresh-rate,
|
refresh-rate,
|
||||||
horizontal-position,
|
horizontal-offset,
|
||||||
|
scale,
|
||||||
|
...
|
||||||
}:
|
}:
|
||||||
''
|
''
|
||||||
output "${name}" {
|
output "${name}" {
|
||||||
mode "${builtins.toString horizontal-resolution}x${builtins.toString vertical-resolution}@${refresh-rate}"
|
mode "${builtins.toString horizontal}x${builtins.toString vertical}@${refresh-rate}"
|
||||||
scale 1
|
scale ${scale}
|
||||||
transform "normal"
|
transform "normal"
|
||||||
position x=${builtins.toString horizontal-position} y=0
|
position x=${builtins.toString horizontal-offset} y=0
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
) displays;
|
) displays;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue