~earboxer/zachme

ref: 29908870fb78fac2d47e4f508cfdcc787ff85dc7 zachme/prototype/zachme-prototype.sh -rwxr-xr-x 131 bytes
29908870Zach DeCook prototype: remove clipwatcher 5 months ago
                                                                                
1
2
3
4
5
6
7
#!/bin/sh

printf \n |wl-copy
wl-paste -t text --watch xargs -I{} sh -c '{}' >>"$1" &
PPID=$!
trap "kill $PPID" EXIT
micro -- "$1"