64gram-desktop/socat-server.sh

5 lines
114 B
Bash
Raw Normal View History

2023-10-04 01:14:27 +05:00
#!/bin/bash
2023-10-04 01:22:08 +05:00
XDG_OPEN_LISTENER_PORT=6969
2023-10-04 01:14:27 +05:00
socat TCP-LISTEN:$XDG_OPEN_LISTENER_PORT,fork EXEC:"xargs -n 1 xdg-open"