bin/st-edit @ 19933428015c

Firefox changed its class name for no goddamn reason, sigh
author Steve Losh <steve@stevelosh.com>
date Tue, 15 Mar 2022 16:01:25 -0400
parents 188c44d7247c
children (none)
#!/bin/sh
# see https://st.suckless.org/patches/externalpipe/editscreen.sh
tmpfile=$(mktemp /tmp/st-edit.XXXXXX)
trap  'rm "$tmpfile"' 0 1 15
cat > "$tmpfile"
st -e "nvim" -c 'normal! G' -c '?\v\S' -c 'nohl' -c 'normal! $' "$tmpfile"