Fix: don't call imv-msg if we're not using imv
Only call imv-msg to update the image if the image viewer is imv, not sxiv.
This commit is contained in:
parent
9258513fa9
commit
f9e929387e
6
kunst
6
kunst
|
@ -250,8 +250,10 @@ main() {
|
|||
if [ ! $SILENT ];then
|
||||
echo "kunst: received event from mpd"
|
||||
fi
|
||||
imv-msg "$(cat /tmp/kunst.pid)" close all
|
||||
imv-msg "$(cat /tmp/kunst.pid)" open "$COVER"
|
||||
if [ "$VIEWER" = 'imv' ]; then
|
||||
imv-msg "$(cat /tmp/kunst.pid)" close all
|
||||
imv-msg "$(cat /tmp/kunst.pid)" open "$COVER"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue