1 2 3 4
#!/usr/bin/env sh POSTIT=$(cat ~/devi/abbatoir/postit | dmenu -l 20 -p "Select Postit:") echo -n "${POSTIT:0:${#POSTIT}}" | xsel -ip