got rid of tcp, instead using unix sockets

This commit is contained in:
2023-10-04 01:36:53 +05:00
parent f3fef33fb6
commit e0ffbee649
4 changed files with 5 additions and 13 deletions

View File

@ -1,4 +1,2 @@
#!/bin/bash
XDG_OPEN_LISTENER_PORT=6969
socat TCP-LISTEN:$XDG_OPEN_LISTENER_PORT,fork EXEC:"xargs -n 1 xdg-open"
socat UNIX-LISTEN:/tmp/xdg-open.socket,fork EXEC:"xargs -n 1 xdg-open"