MyGit

6.0.0

dylanaraps/neofetch

版本发布时间: 2019-01-09 00:29:38

dylanaraps/neofetch最新发布版本:7.1.0(2020-08-03 02:50:56)

Note: The prior releases today were accidental. This is the actual release. Sorry for the confusion.

logo

This release fixes a wide range of bugs and adds some neat new features. Scroll down to "highlights" to see the bigger changes from this release. A big thank you to @konimex, @iandrewt and the contributors below who kept development going during my absence.

Expect a minor bug fix release sometime this week as I'm sure new bugs will come up. I've done extensive testing but things always slip through.

Contributors

@konimex, @iandrewt, @arisinfenix, @xPMo, @nero, @alyssais, @plgruener, @StarryTony, @julianaito, @HolyStephano, @nikitenich, @Appadeia, @marlonn, @Snuggle, @Phuurl, @erikdubois

Breaking Changes

OS

Highlights

[ASCII] Added support for command output. You can now use whatever terminal commands you like as the ASCII art.

# Use fortune and cowsay as ascii art.
neofetch --ascii "$(fortune|cowsay -W 30)"

# use figlet as ascii art.
neofetch --ascii "$(figlet -w 30 hello world)"
scrot

Added a new "simple" mode. You can now use neofetch for scripting by getting it to output individual info functions in plain text.

# Example:
neofetch uptime --uptime_shorthand tiny
> uptime: 32m

# Example:
neofetch uptime disk wm memory
> uptime: 33 mins
> disk (/): 212G / 235G (96%)
> wm: Openbox
> memory: 1215MiB / 7881MiB

# This can be used in bars and scripts like so:
memory="$(neofetch memory)"; memory="${memory##*: }"

# For multiple outputs at once (each line of info in an array):
# Much faster than running neofetch multiple times.
IFS=$'\n' read -d "" -ra info < <(neofetch memory uptime wm)
info=("${info[@]##*: }")

Added new image backend chafa (--chafa) which displays images in the terminal using unicode characters.

neofetch --chafa ~/Pictures/meow.jpg
scrot

Info

ASCII

Image

相关地址:原始地址 下载(tar) 下载(zip)

查看:2019-01-09发行的版本