mirror of
https://github.com/swaywm/sway.git
synced 2025-11-21 06:59:48 -05:00
criteria: change workspace to support regex
This changes the workspace criteria to support regex instead of basic strings. This matches i3's behavior.
This commit is contained in:
parent
3330faded5
commit
52a61671e9
2 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ struct criteria {
|
|||
bool floating;
|
||||
bool tiling;
|
||||
char urgent; // 'l' for latest or 'o' for oldest
|
||||
char *workspace;
|
||||
pcre *workspace;
|
||||
};
|
||||
|
||||
bool criteria_is_empty(struct criteria *criteria);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue