#!/bin/bash clip_content="$(/usr/bin/xclip -selection clipboard -out)" if [ -z "$clip_content" ]; then exit 1 fi "$(dirname $(readlink -f "$0"))/yadus-i3" "$clip_content"