allow configure x and y of outputs

This commit is contained in:
Leonardo Hernández Hernández
2022-09-08 12:24:13 -05:00
committed by Leonardo Hernández Hernández
parent f7d6a34cd9
commit 23ede80f74
2 changed files with 10 additions and 4 deletions

View File

@@ -29,12 +29,12 @@ static const Layout layouts[] = {
/* monitors */
static const MonitorRule monrules[] = {
/* name mfact nmaster scale layout rotate/reflect */
/* name mfact nmaster scale layout rotate/reflect x y */
/* example of a HiDPI laptop monitor:
{ "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL },
{ "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL -1, -1 },
*/
/* defaults */
{ NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL },
{ NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
};
/* keyboard */