64gram-desktop/xdg-open-listener.sh

4 lines
83 B
Bash

#!/bin/bash
echo $1 | socat - TCP:$XDG_OPEN_LISTENER_HOST:$XDG_OPEN_LISTENER_PORT