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