diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2021-12-09 16:24:52 -0800 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2021-12-09 16:24:52 -0800 |
| commit | 859c2b9491fc6e1289228a0e67d13fc2ea338068 (patch) | |
| tree | 59b428fd6066639db7f99db06d724f15ed24351e /ncmpcpp-ueberzug | |
| parent | c370b77862f83076c44daa92e44653065253d9af (diff) | |
Diffstat (limited to 'ncmpcpp-ueberzug')
| l---------[-rwxr-xr-x] | ncmpcpp-ueberzug | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/ncmpcpp-ueberzug b/ncmpcpp-ueberzug index 028baa0..1f74a45 100755..120000 --- a/ncmpcpp-ueberzug +++ b/ncmpcpp-ueberzug @@ -1,18 +1 @@ -#!/bin/sh -export FIFO_UEBERZUG="/tmp/mpd-ueberzug-${PPID}" - -cleanup() { - rm "$FIFO_UEBERZUG" 2>/dev/null - rm /tmp/mpd_cover.jpg 2>/dev/null - pkill -P $$ 2>/dev/null - pkill ncmpcpp_cover_art.sh -} - -pkill -P $$ 2>/dev/null -rm "$FIFO_UEBERZUG" 2>/dev/null -mkfifo "$FIFO_UEBERZUG" >/dev/null -trap cleanup EXIT 2>/dev/null -tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser simple >/dev/null 2>&1 & - -ncmpcpp -cleanup +/home/tyler/.config/ncmpcpp/ncmpcpp-ueberzug/ncmpcpp-ueberzug
\ No newline at end of file |
