mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-06 07:15:31 -04:00
Port switchtotag
Adds a rule option to switch to the configured tag when a window opens, then switch back when it closes.
This commit is contained in:
parent
960c32a7d8
commit
9311c56fb0
2 changed files with 14 additions and 3 deletions
|
|
@ -12,11 +12,11 @@ static const float fullscreen_bg[] = {0.1, 0.1, 0.1, 1.0};
|
|||
static const int tagcount = TAGCOUNT;
|
||||
|
||||
static const Rule rules[] = {
|
||||
/* app_id title tags mask isfloating monitor */
|
||||
/* app_id title tags mask switchtotag isfloating monitor */
|
||||
/* examples:
|
||||
{ "Gimp", NULL, 0, 1, -1 },
|
||||
{ "Gimp", NULL, 0, 0, 1, -1 },
|
||||
{ "firefox", NULL, 1 << 8, 1, 0, -1 },
|
||||
*/
|
||||
{ "firefox", NULL, 1 << 8, 0, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue