mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 20:12:31 +00:00
Image: Add path to NixOS w3m-img
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
- Fixed Raspbian being detected as ChromeOS.
|
||||
|
||||
|
||||
## Images
|
||||
|
||||
- [w3m] Fixed w3m-img not found on NixOS.
|
||||
|
||||
|
||||
## ASCII
|
||||
|
||||
- Added small Debian.
|
||||
|
||||
3
neofetch
3
neofetch
@@ -2365,6 +2365,9 @@ get_w3m_img_path() {
|
||||
elif [[ -x "/usr/local/libexec/w3m/w3mimgdisplay" ]]; then
|
||||
w3m_img_path="/usr/local/libexec/w3m/w3mimgdisplay"
|
||||
|
||||
elif [[ -x "$HOME/.nix-profile/libexec/w3m/w3mimgdisplay" ]]; then
|
||||
w3m_img_path="$HOME/.nix-profile/libexec/w3m/w3mimgdisplay"
|
||||
|
||||
else
|
||||
err "Image: w3m-img wasn't found on your system"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user