]> git.sur5r.net Git - i3/i3/commit
Comply with documentation: 'workspace' token in 'assign' command 2137/head
authorFranz Thoma <franz.thoma@tngtech.com>
Mon, 28 Dec 2015 18:38:17 +0000 (19:38 +0100)
committerFranz Thoma <franz.thoma@tngtech.com>
Mon, 28 Dec 2015 19:11:25 +0000 (20:11 +0100)
commit194da2d7cfb90ee23ad8bdce6ca3e20e2f27abc1
tree0680585adf3c992be05ad1434e8edb4e2f507918
parentdc463077d62fc7f900b61f228042380623b39cf1
Comply with documentation: 'workspace' token in 'assign' command

According to the User's Guide [1], an `assign` command allows a
`workspace` token after the selector, as an alternative or in addition
to the unicode arrow `→`. In reality, however, the `workspace` token is
not recognized.

Example:
  assign [class="Firefox"] workspace "1: Browser"
should assign Firefox windows to workspace `1: Browser`, but the the
browser window appears on a new workspace called
`workspace "1: Browser"` instead.

With this fix, both `→` and `workspace` are recognized (and ignored)
after the selector.

[1] https://i3wm.org/docs/userguide.html#_automatically_putting_clients_on_specific_workspaces
parser-specs/config.spec