mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Allow output config for output named *
Which will match any output.
This commit is contained in:
parent
2f192cceca
commit
1661edee28
3 changed files with 20 additions and 1 deletions
|
|
@ -87,7 +87,10 @@ swayc_t *new_output(wlc_handle handle) {
|
|||
sway_log(L_DEBUG, "Matched output config for %s", name);
|
||||
break;
|
||||
}
|
||||
oc = NULL;
|
||||
if (strcasecmp("*", oc->name) == 0) {
|
||||
sway_log(L_DEBUG, "Matched wildcard output config for %s", name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (oc && !oc->enabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue