apply monfig patch

Co-authored-by: Leonardo Hernández Hernández <leohdz172@proton.me>
This commit is contained in:
Palanix 2022-04-04 16:08:29 +02:00 committed by Leonardo Hernández Hernández
parent 77e34dc45a
commit 09d177c13a
No known key found for this signature in database
GPG key ID: E538897EE11B9624
2 changed files with 60 additions and 17 deletions

View file

@ -38,14 +38,16 @@ static const Layout layouts[] = {
{ "[M]", monocle },
};
/* monitors */
/* monitors
* The order in which monitors are defined determines their position.
* Non-configured monitors are always added to the left. */
static const MonitorRule monrules[] = {
/* 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, -1, -1 },
/* name mfact nmaster scale layout rotate/reflect x y resx resy rate adaptive custom*/
/* example of a HiDPI laptop monitor at 120Hz:
{ "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 120.000, 1, 0},
*/
/* defaults */
{ NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
{ NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 0, 0, 1},
};
/* keyboard */