Config: Remove 'w3m_img_path'
This commit is contained in:
parent
4d00a4dac1
commit
b6a55cf91d
2 changed files with 4 additions and 20 deletions
8
neofetch
8
neofetch
|
|
@ -2133,10 +2133,7 @@ get_wallpaper() {
|
|||
|
||||
get_w3m_img_path() {
|
||||
# Find w3m-img path.
|
||||
if [[ -x "$w3m_img_path" ]]; then
|
||||
w3m_img_path="$w3m_img_path"
|
||||
|
||||
elif [[ -x "/usr/lib/w3m/w3mimgdisplay" ]]; then
|
||||
if [[ -x "/usr/lib/w3m/w3mimgdisplay" ]]; then
|
||||
w3m_img_path="/usr/lib/w3m/w3mimgdisplay"
|
||||
|
||||
elif [[ -x "/usr/libexec/w3m/w3mimgdisplay" ]]; then
|
||||
|
|
@ -2147,6 +2144,9 @@ get_w3m_img_path() {
|
|||
|
||||
elif [[ -x "/usr/libexec64/w3m/w3mimgdisplay" ]]; then
|
||||
w3m_img_path="/usr/libexec64/w3m/w3mimgdisplay"
|
||||
|
||||
else
|
||||
err "Image: w3m-img wasn't found on your system"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue