Skip to content
Snippets Groups Projects
Verified Commit 3da6d61c authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

feat: improve display assertions

parent eb25c374
No related branches found
No related tags found
No related merge requests found
......@@ -115,8 +115,12 @@
message = "a non-headless system can't be minimal";
}
{
assertion = config.eisfunke.displays.main.id != null;
message = "the main display needs to have an id specified";
assertion = !config.eisfunke.headless -> config.eisfunke.displays.main != null;
message = "a non-headless system needs to have main display configured";
}
{
assertion = !config.eisfunke.headless -> (config.eisfunke.displays.main.id != null && config.eisfunke.displays.main.name != null);
message = "the main display needs to have both a name and an id specified";
}
];
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment