summaryrefslogtreecommitdiff
path: root/.local/bin/vifmrun
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-25 18:02:25 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-25 18:02:25 -0400
commitcb1a51092d12db12f7ba29e57daed6d64b311d38 (patch)
tree3c4e0bf555d079b9bc4f04889aa2cc6bb4f91255 /.local/bin/vifmrun
parent6312ef191a9ab7466ec72bb3aba7138816062c2f (diff)
More cleanup
Diffstat (limited to '.local/bin/vifmrun')
-rwxr-xr-x.local/bin/vifmrun16
1 files changed, 0 insertions, 16 deletions
diff --git a/.local/bin/vifmrun b/.local/bin/vifmrun
deleted file mode 100755
index 69f2d22..0000000
--- a/.local/bin/vifmrun
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env bash
-
-export FIFO_UEBERZUG="/tmp/vifm-ueberzug-${PPID}"
-
-function 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