Self-voicing no longer has the pid on the end of the /tmp/cthulhu.sock file.

This commit is contained in:
Storm Dragon 2024-10-21 12:07:48 -04:00
parent 604dc67407
commit 8245135cbd

View File

@ -1,6 +1,5 @@
# Example usage:
# echo "This is a test." | socat - UNIX-CLIENT:/tmp/cthulhu-PID.sock
# Where PID is cthulhu's process id.
# echo "This is a test." | socat - UNIX-CLIENT:/tmp/cthulhu.sock
# Prepend text to be spoken with <!#APPEND#!> to make it not interrupt, for inaccessible windows.
# Append message to be spoken with <#PERSISTENT#> to present a persistent message in braille
# <#APPEND#> is only usable for a persistent message
@ -78,7 +77,7 @@ class SelfVoice(GObject.Object, Peas.Activatable, plugin.Plugin):
print(e)
def voiceWorker(self):
socketFile = '/tmp/cthulhu-' + str(os.getppid()) + '.sock'
socketFile = '/tmp/cthulhu.sock'
# for testing purposes
#socketFile = '/tmp/cthulhu-plugin.sock'