-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add option to force LEFT-TO-RIGHT format in names? #22
Comments
Seems to be an issue with that specific icon forcing an RTL layout, must be a bug in nerd fonts |
@Lyr-7D1h Reopening because I found the issue and solution. Some glyphs in Nerdfonts patched fonts override arabic characters, which force RTL layouts by unicode standard. (Relevant nerdfonts bug, reported almost 2 and a half years ago). My solution is to prepend names with U+202D (LEFT-TO-RIGHT OVERRIDE) and append with U+202C (POP DIRECTIONAL FORMATTING). I don't think that this should be applied universally so sworkstyle can still work for arabic users, but maybe a command line arg to enable wrapping of workspace names? |
As most people are English and use Sworkstyle with glyphs. I think it is safe to force use LTS for now. If there ever is a need to support RTS we could make this a configurable option. e792121 Implements this. |
I'm using sworkstyle with sway+waybar, and for some reason workspaces with Android Studio on them get their names reversed. Workspace 2 in this screenshot is an example
Not sure if this is a sworkstyle problem or a waybar problem, bit it only happens with Android Studio. Nothing in the log at all
The text was updated successfully, but these errors were encountered: