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

Support for numeric character reference for workspace names #897

Closed
Leinnan opened this issue Sep 14, 2016 · 4 comments · Fixed by #936
Closed

Support for numeric character reference for workspace names #897

Leinnan opened this issue Sep 14, 2016 · 4 comments · Fixed by #936

Comments

@Leinnan
Copy link

Leinnan commented Sep 14, 2016

In i3(or at least i3-gaps version) we have support for this characters(example[with spaces, because github replace code with one char just like i3bar]: & # x0C8D;), which are great when we using icon fonts like font awesome. In sway we have just plain text. Any chance for support that?
https://en.wikipedia.org/wiki/Numeric_character_reference

@ddevault
Copy link
Contributor

I guess we should implement that to support i3 compatability, but ftr I disagree with the feature. Why not just output unicode characters?

@BrknRobot
Copy link

BrknRobot commented Sep 14, 2016

Unicode characters can be difficult to type. This is especially when working with icon fonts which make use of otherwise unused code points which won't show up in any physical or soft keyboards.

Plus months or years later when you want to tweak your bar script, you end up looking at a bunch of unknown character boxes. You can at least look up a code point in a reference. It's impossible to tell what a little box was supposed to be.

@ddevault
Copy link
Contributor

But you can use i.e. \u

@BrknRobot
Copy link

Ah, I was confusing this for any character substitution. Then I've got no clue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants