neofetch/1.6.md
2016-03-31 22:21:46 +11:00

5.1 KiB

Neofetch 1.6

Another week another release of Neofetch.

This release focused on cleanup, bug fixes and optimization. Neofetch<br > is now much much faster than last release and more bug free than ever<br > before!

Contributers

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 whitespace trimming substitution for CPU/GPU etc.
  • Use stty instead of read -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.

[1] You can clear the cache with --clean.

Colors

vs

Neofetch 1.5 vs Neofetch 1.6

  • Fixed buggy colors in older versions of *BSD, OS X and Linux.
  • The default text colors now work on bright colorschemes. 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.

OS<br >

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 as NVIDIA. @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

Theme<br >

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 of Unknown 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.
  • Fixed disk usage not working on FreeBSD.

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.

Public IP<br >

  • Each source now has a timeout to avoid a hang.
  • If the IP detection fails we try another method.

Image

  • Remove shuffledir in favor of '--image path/to/dir/'
  • Use printf instead of shuf to pick a random image.
  • Fixed OS X 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.