Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1099: Allow spaces in worspace names #1101

Merged
merged 1 commit into from
Mar 1, 2017
Merged

Fix #1099: Allow spaces in worspace names #1101

merged 1 commit into from
Mar 1, 2017

Conversation

4e554c4c
Copy link
Contributor

@4e554c4c 4e554c4c commented Mar 1, 2017

This commit allows unquoted spaces in worspace names in order to keep
compatability with i3. The names must not contain the string "output"
which is documented in 'sway.5' because how sway detects the move <workspace> output <output> command. Also I documented that "number"
may be used before the worspace name without affecting how the name is
evaluated.

This commit allows unquoted spaces in worspace names in order to keep
compatability with i3. The names _must not_ contain the string "output"
which is documented in 'sway.5' because how sway detects the `move
<workspace> output <output>` command. Also I documented that "number"
may be used before the worspace name without affecting how the name is
evaluated.
@ddevault
Copy link
Contributor

ddevault commented Mar 1, 2017

Does the "output" limitation match i3?

@4e554c4c
Copy link
Contributor Author

4e554c4c commented Mar 1, 2017

I'm not sure. I can't find anything in the docs (relavent section here?) except that spaces are allowed in workspace names. I'm not quite sure how else to handle "output" other then this except for allowing spaces in one command and not another.

@ddevault
Copy link
Contributor

ddevault commented Mar 1, 2017

Well, w/e. It probably works for most cases. We can change it if someone complains about some incompatability later on.

@ddevault ddevault merged commit d4aa604 into swaywm:master Mar 1, 2017
@ddevault
Copy link
Contributor

ddevault commented Mar 1, 2017

Thanks!

@WhyNotHugo
Copy link
Contributor

Thanks! 🎉

ddevault added a commit that referenced this pull request Mar 7, 2017
Fix #1099: Allow spaces in worspace names
@ddevault ddevault mentioned this pull request Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants