Right now I have a keybinding that uses the xsel program to grab the contents of selected text and pass it to the festival text to speech engine:
#!/bin/bash
xsel |festival --tts --pipe
I want to have the ability to toggle a process that will allow me to have any text I highlight automatically spoken, and I want to kill and restart the process if I highlight something else. Is this even possible? I think such a tool would greatly enhance everyone's workflow.
OS: Ubuntu 18.04.4 LTS x86_64 Kernel: 5.3.0-51-generic Shell: zsh 5.4.2 DE: GNOME
0 Answers