~earboxer/zachme

29908870fb78fac2d47e4f508cfdcc787ff85dc7 — Zach DeCook 4 months ago 2416df5
prototype: remove clipwatcher
2 files changed, 1 insertions(+), 9 deletions(-)

D prototype/clipwatcher.sh
M prototype/zachme-prototype.sh
D prototype/clipwatcher.sh => prototype/clipwatcher.sh +0 -8
@@ 1,8 0,0 @@
#!/bin/sh

# The other file is just stdout

while read line
do
sh -c "$line"
done

M prototype/zachme-prototype.sh => prototype/zachme-prototype.sh +1 -1
@@ 1,7 1,7 @@
#!/bin/sh

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