#!/bin/bash # The script need be in path or you will need specify complete script path # in Custom Commands Add box. sel=$(< /dev/stdin); curl -s -F "f:1=$sel" http://ix.io | xsel -ib echo -n "$sel"; exit 1