1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00
Files
niveum/packages/ttspaste.nix

11 lines
244 B
Nix
Raw Normal View History

{
writers,
xclip,
2023-02-28 20:23:46 +01:00
espeak,
}:
writers.writeDashBin "ttspaste" ''
2023-02-28 20:23:46 +01:00
${xclip}/bin/xclip -selection clipboard -out | ${espeak}/bin/espeak
''
2023-02-28 20:23:46 +01:00
# curl, mpv,
# ${curl}/bin/curl -G http://tts.r/api/tts --data-urlencode 'text@-' | ${mpv}/bin/mpv -