diff options
@@ -1336,7 +1336,8 @@ createmon(struct wl_listener *listener, void *data) /* Initialize monitor state using configured rules */ m->tagset[0] = m->tagset[1] = 1; for (r = monrules; r < END(monrules); r++) { - if (!r->name || strstr(wlr_output->name, r->name)) { + if (!r->name || strstr(wlr_output->name, r->name) || ((wlr_output->description != NULL) && strstr(wlr_output->description,r->name))) { + printf("Model %s\n",wlr_output->model); m->m.x = r->x; m->m.y = r->y; m->mfact = r->mfact; |