Lyr-7D1h / swayest_workstyle

Map workspace names to icons for Sway
MIT License
119 stars 18 forks source link

feat: config option to force left to right format #24

Closed frap129 closed 2 years ago

frap129 commented 2 years ago

This PR adds a "force_ltr" option to the config file, allowing users to work around fonts that overwrite characters in RTL languages (see issue #22 for more details). I debated doing this as a command line arg, but because the option should probably persist across instances and is only relevant to specific characters in the config, I decided a new config file option was a better choice.

Apologies if this code isn't up to any standards, I tried to maintain the styling present but this is also the first bit of rust I've ever written.

Lyr-7D1h commented 2 years ago

Thanks for making this PR! And with that my apologies to being a little inactive. Would never have thought of this bug, very good find!

frap129 commented 2 years ago

Closing this since you did it yourself: https://github.com/Lyr-7D1h/swayest_workstyle/commit/e792121db48f4fe2c17518c8be4cdca585550220