cspeterson / splatmoji

Quickly look up and input emoji and/or emoticons/kaomoji on your GNU/Linux desktop via pop-up menu.
MIT License
212 stars 19 forks source link

Added new "copypaste" mode #25

Closed ghost closed 4 years ago

ghost commented 4 years ago

Added new mode as an option to deal with the slow-typing issue in type mode, updates with readme.md and added TOC to it.

I am using kde and I have noticed that the type mode is really slow when it is dealing with non-ascii character, see this: https://i.imgur.com/BOiNAeO.gifv

This is just really annoying when chatting with someone using keyboard, I have to wait until it is done and finally I can type my things. Although you can just use the copy mode and paste it yourself, but I think the copypaste mode will just do things faster, see the gif for example: https://i.imgur.com/zOFe8uA.gifv

Some minor changes with the readme.md files and added Table of contents to it so it will be easier for linux beginners and faster navigation between different sections.

cspeterson commented 4 years ago

I think I'm totally down for this. Xdotool is just so janky for type mode, it's a shame.

Not sure why it didn't occur to me to do this already! I think the potential variability of paste key combos must have caught me up, but making it a config value seems to straight up solve that. Great.

I'll take a closer look and get this incorporated soon, thanks! 😁

cspeterson commented 4 years ago

Okay so I added tests and refactored it slightly to be more DRY and boom goes the dynamite

thanks for your help! ヾ(´▽`\;)ゝ

ghost commented 4 years ago

You're welcome! Thanks for accepting the pull request.^_^