mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
Add for_window --always
This allows a for_window command to trigger multiple times on the same window; the default is to only run the command once (when it first matches). This can be useful to apply rules to applications like VLC that hide and show a window without re-creating it (when using the taskbar icon to hide/show).
This commit is contained in:
parent
9c30140b0a
commit
7bf8c3ead0
3 changed files with 18 additions and 2 deletions
|
|
@ -45,6 +45,7 @@ struct criteria {
|
|||
#endif
|
||||
bool floating;
|
||||
bool tiling;
|
||||
bool always;
|
||||
char urgent; // 'l' for latest or 'o' for oldest
|
||||
struct pattern *workspace;
|
||||
pid_t pid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue