This commit is contained in:
parent
b9e221f885
commit
27015ac293
1 changed files with 12 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
mkScreen = display: position: {
|
mkScreen = display: position: {
|
||||||
inherit (display.output) criteria;
|
inherit (display.output) criteria;
|
||||||
inherit position;
|
inherit position;
|
||||||
|
status = "enable";
|
||||||
};
|
};
|
||||||
mkProfile = name: outputs: {
|
mkProfile = name: outputs: {
|
||||||
profile = {
|
profile = {
|
||||||
|
@ -47,11 +48,18 @@
|
||||||
criteria = "Lenovo Group Limited LEN P24h-20 V307DA61";
|
criteria = "Lenovo Group Limited LEN P24h-20 V307DA61";
|
||||||
scale = null;
|
scale = null;
|
||||||
};
|
};
|
||||||
|
estonia-tv.output = {
|
||||||
|
criteria = "Samsung Electric Company SAMSUNG 0x01000E00";
|
||||||
|
scale = 2.0;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
with lib;
|
with lib;
|
||||||
(attrValues screens)
|
(attrValues screens)
|
||||||
++ (with screens; [
|
++ (with screens; [
|
||||||
|
(mkProfile "mobile-only" [
|
||||||
|
(mkScreen x1-screen "0,0")
|
||||||
|
])
|
||||||
(mkProfile "home-dock" [
|
(mkProfile "home-dock" [
|
||||||
(mkScreen x1-screen "0,120")
|
(mkScreen x1-screen "0,120")
|
||||||
(mkScreen chur-4k "1920,0")
|
(mkScreen chur-4k "1920,0")
|
||||||
|
@ -60,6 +68,10 @@
|
||||||
(mkScreen x1-screen "0,0")
|
(mkScreen x1-screen "0,0")
|
||||||
(mkScreen estonia-thinkvision "1920,0")
|
(mkScreen estonia-thinkvision "1920,0")
|
||||||
])
|
])
|
||||||
|
(mkProfile "tv" [
|
||||||
|
((mkScreen x1-screen "0,0") // { status = "disable"; })
|
||||||
|
(mkScreen estonia-tv "0,0")
|
||||||
|
])
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue