neofetch/1.6.md

137 lines
4.8 KiB
Markdown

# Neofetch 1.6
### Contributers
Thanks to the following people for contributing this release.
- **[@iandrewt](https://github.com/iandrewt)**
- **[@dawidd6](https://github.com/dawidd6)**
- **[@onodera-punpun](https://github.com/onodera-punpun)**
- **[@onespaceman](https://github.com/onespaceman)**
- **[@firstEncounter](https://github.com/firstEncounter)**
- **[@konimex](https://github.com/konimex)**
### General
- Added Travis CI support.
- Added `--test` which 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](https://ipfs.pics/ipfs/QmNVw4zm78tgBGdhDJ1FZ1aktpEtVapVtNWWMMKh5aitrZ)
<p align="center">Neofetch 1.5 vs Neofetch 1.6</p>
- 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 Travis.
### Packages
- Neofetch is now is Void Linux's official repos. **[@konimex](https://github.com/konimex)**
### Info
- Functions now no longer print `Unknown` when they fail, they now don't appear at all.
**OS**<br \>
- [ CRUX ] Also print the CRUX version. **[@onodera-punpun](https://github.com/onodera-punpun)**
**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](https://github.com/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](https://github.com/dawidd6)** and **[@iandrewt](https://github.com/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](https://github.com/iandrewt)**
**Public IP**<br \>
- Made public IP function faster by using `dig` if available. **[@iandrewt](https://github.com/iandrewt)**
**Theme**<br \>
- Use `$GTK2_RC_FILES` if the envar is set. **[@onespaceman](https://github.com/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 of `Unknown` when no music player is found.
- Added support for Google Play Music Desktop Player (adds optional dependency of [`gpmdp-bash`](https://github.com/iandrewt/gpmdp-bash)) **[@iandrewt](https://github.com/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](https://github.com/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.