view img with w3mimgdisplay not working on NetBSD
pfr-dev opened this issue · 1 comments
pfr-dev commented
I'm on NetBSD 9.0 and w3m-img
is installed and located in /usr/pkg/bin
I edited the file to reflect this:
get_w3m_path() {
# Find the path to the w3m-img library.
w3m_paths=(/usr/pkg/bin/w3m)
read -r w3m _ < <(type -p w3mimgdisplay "${w3m_paths[@]}")
}
images display fine in w3m but when I hit i
on an image in fff
i get nothing (goes blank)
all listed deps are installed
pfr-dev commented
As it turns out w3mimgdisplay
is in /usr/pkg/libexec/w3m/
so I've now edited the file as such:
get_w3m_path() {
# Find the path to the w3m-img library.
w3m_paths=(/usr/pkg/{bin/,}{lib,libexec,lib64,libexec64}/w3m/w3mi*)
read -r w3m _ < <(type -p w3mimgdisplay "${w3m_paths[@]}")
}
Now it works :)