Delete vu

This commit is contained in:
Vlad Doster 2019-12-22 21:21:03 -05:00 committed by GitHub
parent b47816e82d
commit cecbdd398a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +0,0 @@
#!/usr/bin/env sh
# This is a wrapper for vifm to allow ueberzug images.
export FIFO_UEBERZUG="/tmp/vifm-ueberzug-${PPID}"
cleanup() {
rm "$FIFO_UEBERZUG" 2>/dev/null
pkill -P $$ 2>/dev/null
}
rm "$FIFO_UEBERZUG" 2>/dev/null
mkfifo "$FIFO_UEBERZUG"
trap cleanup EXIT
tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser bash &
vifm
cleanup