bin/st-brows @ 188c44d7247c

Better st-edit behavior
author Steve Losh <steve@stevelosh.com>
date Thu, 14 Mar 2019 18:51:47 -0400
parents fd1ced257076
children (none)
#!/bin/sh
# see https://st.suckless.org/patches/externalpipe/editscreen.sh
tmpfile=$(mktemp /tmp/st-brows.XXXXXX)
trap  'rm "$tmpfile"' 0 1 15
cat > "$tmpfile"
st /bin/bash -c "cat $tmpfile | /home/sjl/src/dotfiles/bin/brows"