kraanzu/smassh

💡 [FEAT] adjustments for number string length and frequency and punctuation frequency and type

drjaska opened this issue · 7 comments

Currently number string frequency and length are not controllable, there's only an on/off switch. Same for punctuation but for punctuation it would also be nice to be able to control what punctuation characters are able to appear. Preferably as writable list like {[()]}*!=?&.,_:;~'|<>^ if that's not too hard to implement.

I've recently setup additional keylayers commonly used on 40% keyboards so I'm able to type numbers and special characters without leaving the letter keys, this looks like a good offline trainer for learning those layers which is usable even on a shittop but its numbers and special characters are far too sparse for my preferences and I feel like I'm wasting time writing regular words too much.

Hmm, I can create two menus:

  • The first one will have a multiple-checkbox type option to choose which punctuations they wanna use... which as you mentioned will consist of {[()]}*!=?&.,_:;~'|<>^
  • Secondly, I can use a floating menu just like the size menus for time/words mode consisting of options like low, med, high, max?

How does that sound? Feel free to add more if you have any other suggestions :)

low med high max without any said meaning how much they are is obfuscating but sounds good otherwise.

low med high max without any said

If you've noticed, all the menus have a title which explains how the setting is going to affect the typing experience
I can add a simple title like: Choose frequency of punctutations:
Now low med high max make sense :)

low med high max are not exact or accurately descriptive unlike "Replace the word with a random number every X words" or "Every Y words will require punctuation after the word".

Seems fair enough.... Guess I'll add a custom input box then :)

Any way I could help out on this? feel comfortable at least with the logic and algorithm of the backend and can learn string parsing enough for TUI in python :) Never done anything open source before but I'm a full-time SWE and I'd love to get some experience.

Hey @ponderstine,
You are welcome to contribute. You can start by adding a NumberScroll Widget setting for something like this:

"Every Y words will require punctuation after the word"

and then can change the paragraph generator acccordingly?