1.6
版本发布时间: 2016-04-01 18:40:15
dylanaraps/neofetch最新发布版本:7.1.0(2020-08-03 02:50:56)
Neofetch 1.6
Another week another release of Neofetch.
This release focused on cleanup, bug fixes and optimization. Neofetch is now much much faster than last release and more bug free than ever before!
This release surprisingly didn't break much at all, see the latest entry in
the wiki page Following HEAD
.
https://github.com/dylanaraps/neofetch/wiki/Following-HEAD
Contributors
Thanks to the following people for contributing this release.
General
- Added Travis CI support.
- Added
--test
which is meant for testing and prints all functions. - Cleanup of Distro, Uptime, Memory and CPU functions.
- We now use a more reliable white-space trimming substitution for CPU/GPU etc.
- Use
stty
instead ofread -s
to fix an issue with escape sequences<br > appearing in the output. - Line wrap is now disabled by default.
- Implement base support for caching specific info. This will eventually<br > allow us to speed up the script by caching info that won't change for a<br > long period of time like the CPU/GPU. [1]
- Fixed a locale issue when
LC_ALL
is unset on the user's system. - Change all usage of
$HOME/.config
to$XDG_CONFIG_HOME
with a fallback to$HOME/.config
.
[1] You can clear the cache with --clean
.
Colors
Neofetch 1.5 vs Neofetch 1.6
Neofetch now works with bright color schemes and uses the foreground color instead of hard-coding white.
<br >
- Fixed buggy colors in older versions of *BSD, OS X and Linux.
- The default text colors now work on bright color schemes. We no longer force<br > the color white, it's now based on your foreground color.
- Progress bars are now by default colored based on your distro's logo colors.
- Color blocks now work in older systems and in Travis CI.
Packages
- Neofetch is now is Void Linux's official repos. @konimex
Info
- Functions now no longer print
Unknown
when they fail, they now don't appear at all.
Window Manager Theme<br >
- Added new
WM Theme
function to print window manager themes.
OS<br >
- [ CRUX ] Also print the CRUX version. @onodera-punpun
- [ Fedora ] Fixed a weird detection bug.
CPU<br >
- [ Windows ] Don't print CPU cores if detection fails.
- [ BSD ] Fixed extremely long output.
- Fixed broken CPU speed when source is
/proc/cpuinfo
.
GPU<br >
- Don't show GPU output on unsupported OS.
-
Nvidia
is now displayed asNVIDIA
. @firstEncounter - Intel GPUs now all appear as
Intel Integrated Graphics
. to avoid naming issues. - [ OS X ] We now cache the GPU value.
Battery<br >
- Show charging state in battery output. @dawidd6 and @iandrewt
- [ Windows / OpenBSD ] Fix blank battery output when battery isn't found.
Resolution<br >
- [ Windows ] Don't print resolution if detection fails.
- [ Linux / OSX / BSD ] Print refresh rate next to resolutions.
- [ Linux ] Multi monitor support using
xorg-xrandr
. - [ Linux ] Refresh rate support using
xorg-xrandr
. - [ OSX ] Added support for using
screenresolution
to print the output.<br > This is much faster than the default method.
Packages<br >
- Listing homebrew packages is now super fast. @iandrewt
Public IP<br >
- Made public IP function faster by using
dig
if available. @iandrewt - Each source now has a timeout to avoid a hang.
- If the IP detection fails we try another method.
Theme<br >
- Use
$GTK2_RC_FILES
if the envar is set. @onespaceman
Desktop Environment<br >
- Added OS X detection.
Song<br >
- [ MPD ] Fixed function when mpd is running on another PC and not your own.
- Song now displays
Not Playing
instead ofUnknown
when no music player is found. - Added support for Google Play Music Desktop Player (adds optional dependency of
gpmdp-bash
) @iandrewt
Disk<br >
- Added new display option
perc
to display just the percentage with the progress bar. - [ FreeBSD ] Fixed disk usage not working.
Memory<br >
- [ OpenBSD ] Fixed completely broken memory output on OpenBSD.
- [ Linux ] Rewrote memory function so that it works on old kernel versions.
Uptime<br >
- [ OSX / BSD ] Performance improvements. @iandrewt
- [ OpenBSD ] Fixed duplicate
up
in output.
Birthday<br >
- Fix stray
+
sign in output.
Image
- Remove
shuffledir
in favor of '--image path/to/dir/' - Use
printf
instead ofshuf
to pick a random image. - [ OS X ] Fixed issues with wallpaper detection.
- [ OS X ] Wallpaper detection now works on a per desktop basis.
- Removed
image_backend
and instead use iterm2 mode only when iterm2 is detected.
Ascii
- Added ascii art for Qubes OS.
- Added ascii art for Travis CI.
- Revamped Alpine Linux's ascii art.
- Fixed missing ascii colors for Puppy Linux.
- [ OSX ] Fixed incorrect text colors.
- Sped up ascii function by dropping
wc
usage.
Scrot
- Fixed scrot function not using user defined options.