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

None-alphanumeric characters don't work on workspace names #1099

Closed
WhyNotHugo opened this issue Mar 1, 2017 · 4 comments
Closed

None-alphanumeric characters don't work on workspace names #1099

WhyNotHugo opened this issue Mar 1, 2017 · 4 comments

Comments

@WhyNotHugo
Copy link
Contributor

I've a few workspaces that have some "weird" characters just to visually identify them. They seem to work fine on i3, but pressing $mod+1 does nothing on sway. Other workspaces work fine. The debug logs don't show any errors either. Relevant config:

bindsym $mod+1 workspace 1: 
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8: 🔊
bindsym $mod+9 workspace 9: 
bindsym $mod+0 workspace 10: 
@4e554c4c
Copy link
Contributor

4e554c4c commented Mar 1, 2017

Sway handles and displays unicode characters fine. Perhaps you have a space between the worspace number and symbol in your config?

@ddevault
Copy link
Contributor

ddevault commented Mar 1, 2017

Try quoting them and make sure all of the commands that reference the ws are consistent.

@WhyNotHugo
Copy link
Contributor Author

Yup, quoting them did the trick. Since i3wm supports these values unquoted, can this discrepancy be considered an issue, or should I just close this?

@ddevault
Copy link
Contributor

ddevault commented Mar 1, 2017

Yeah, we should probably join the args together when possible. Can leave this open until that's done.

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

No branches or pull requests

3 participants