summaryrefslogtreecommitdiff
path: root/.local/bin/edit_screen.sh
blob: 39eda14c4fb0b85867114e9857928a1c542bccc3 (plain)
1
2
3
4
5
#!/bin/sh
tmpfile=$(mktemp /tmp/st-edit.XXXXXX)
trap  'rm "$tmpfile"' 0 1 15
cat > "$tmpfile"
$TERMINAL -e "$EDITOR" "$tmpfile"