commit 2314eb14dbf58c8cebf6d064d1a748806e9b1ee2
parent ad9549a93bb4d69dfba52bfb14ceefdc53efabcc
Author: Yuval Langer <yuval.langer@gmail.com>
Date: Sun, 3 Apr 2022 22:46:30 +0300
Print the spoken text.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/clipboard_speaker/clipboard_speaker.py b/clipboard_speaker/clipboard_speaker.py
@@ -84,6 +84,8 @@ def main() -> None:
line.strip() for line in xsel_process.stdout for line in line.split(b"\n")
).decode("utf-8")
+ print(message)
+
# Write to the fifo with a newline as a good luck token. (it may or may
# not be what will make it show up immediately on the other sideā¦)
fifo_write_file.write(message + "\n")