1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 12:01:06 +01:00

use wl-clipboard

This commit is contained in:
2025-08-26 07:19:17 +02:00
parent 5febabb7fa
commit d0ac0af7c3
8 changed files with 536 additions and 34 deletions

View File

@@ -1,10 +1,10 @@
{
writers,
xclip,
wl-clipboard,
espeak,
}:
writers.writeDashBin "ttspaste" ''
${xclip}/bin/xclip -selection clipboard -out | ${espeak}/bin/espeak
${wl-clipboard}/bin/paste | ${espeak}/bin/espeak
''
# curl, mpv,
# ${curl}/bin/curl -G http://tts.r/api/tts --data-urlencode 'text@-' | ${mpv}/bin/mpv -