64gram-desktop/socat-server.sh

5 lines
114 B
Bash
Executable File

#!/bin/bash
XDG_OPEN_LISTENER_PORT-6969
socat TCP-LISTEN:$XDG_OPEN_LISTENER_PORT,fork EXEC:"xargs -n 1 xdg-open"