Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在这种情况下,我希望 flite(语音合成器)在我按下热键时读取我选择的文本。命令是flite -t "text i want to read" How?
flite -t "text i want to read"
跑步flite -t "$(xclip -o)"做你想做的事吗?如果是这样,您可以绑定一个键来运行它:
flite -t "$(xclip -o)"
awful.key({ modkey, }, "r", function () awful.spawn.with_shell('flite -t "$(xclip -o)"') end, ),