mirror of
https://github.com/danbulant/nekofetch
synced 2026-07-05 02:50:46 +00:00
Add iTerm2 support
This commit is contained in:
parent
355a216f1e
commit
4f9abc859a
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ if [ "$TERM" = "xterm-kitty" ]; then
|
||||||
jp2a --height="$height" "$tmpfile.jpg" > "$tmpfile"
|
jp2a --height="$height" "$tmpfile.jpg" > "$tmpfile"
|
||||||
neofetch --source "$tmpfile"
|
neofetch --source "$tmpfile"
|
||||||
fi
|
fi
|
||||||
|
elif [ "$LC_TERMINAL" = "iTerm2" ]; then
|
||||||
|
neofetch --iterm2 "$tmpfile.jpg"
|
||||||
else
|
else
|
||||||
jp2a --height="$height" "$tmpfile.jpg" > "$tmpfile"
|
jp2a --height="$height" "$tmpfile.jpg" > "$tmpfile"
|
||||||
neofetch --source "$tmpfile"
|
neofetch --source "$tmpfile"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue