@zaxebo1 feel free to __make a pull request that provides this__.
Note that current versions of Geany create the socket file name in /tmp as a tempfile of the form `geany_socket.XXXXXX`. The file of the form `geany_socket_host_display` (with host and display having characters that filenames might not like removed) is created in the Geany config directory and is a link to the /tmp dir. You could make an option to include the desktop name in that linkname.