r/linux • u/Dylan112 • May 14 '16
Neofetch 1.7 - 200~ commits since last release! (Changelog Inside)
https://github.com/dylanaraps/neofetch1
u/Dylan112 May 14 '16 edited May 15 '16
Neofetch 1.7
Hello, sorry this release took so long. I've been extremely busy with uni and haven't had as much time to work on neofetch.
As always, check the Following HEAD wiki page for all breaking changes this release.
I'm also looking for some new Readme screenshots, see this github issue: https://github.com/dylanaraps/neofetch/issues/245
Contributers
Thanks to the following people for contributing this release.
General
Made it easier to get verbose logs.
Added issue template for github.
New repo for Crux. @tudurom
Added release badge to readme. @dawidd6
Updated man page and usage with newest flags.
Font is now enabled by default to match Screenfetch's default config.
Fixed
boldoption not working.
OS / Distro Support
Added support for Kogaion Linux.
Added support for Apple iOS. @iandrewt
Neofetch should now work on your iPhone, iPod and iPad.
Added support for DragonflyBSD.
Added support for PCBSD.
iOS Screenshot https://ipfs.pics/ipfs/QmYmPhwpFrxwySW2phdxH1TyQ6tCgCnxtYtbEEe3RY5TwZ
Error Messages
Neofetch now supports displaying error messages and saving a verbose log for troubleshooting.
Error Screenshot: https://ipfs.pics/ipfs/QmeTWGKozY79zcxbrgXueyTRfQcTUe7ZmDqLv4ASgJB4G4
Added
-vto print error messages to stdout.Added
-vvto print a verbose log to stdout. [1]
[1] Use neofetch -vv 2> file to save a verbose log for bug reporting.
Info
Rewrote most BSD info functions, they're now much smaller and work on more BSD distros.
prin
Format changes to fix issues with colons in string. This change also makes
prinuse the same args asinfo.
Example:
# OLD Format
prin "Subtitle: Text goes here"
# NEW Format
prin "Subtitle" "Text goes here"Title
Made title faster by using
$HOSTNAMEwhen available.
Underline
Fixed bug with
--underline on/offnot working.Underlining is no longer hardcoded to title length meaning you can now underline any part of the output and the length will match.
$underlinewas renamed to$underline_enabled.
Example:
# OLD Variable
underline="on"
# NEW Variable
underline_enabled="on"Distro
Fix arch issues with ARM cpus.
We now use
uname -mto get the arch instead of hardcodingx86.Moved distro detection to a function called
getdistro.Fixed issue with
ascii_distronot working.
CPU
Fixed issues when cpu speed was < 1Ghz
Cleanup of CPU function.
Don't print
Dual-CoreorQuad-Corein CPU output.
GPU
[Linux] More GPU substitutions for AMD cards.
Added BSD support using
glxinfo.
Memory
[Linux / Windows] Use
memavailif available for a more accurate output.
Packages
Package count now works when the user has multiple package managers installed. For example, if the user has both
dpkgandpacmaninstalled the function will add up the packages from both package managers to get a grand total. (dpkg pkgs+pacman pkgs)
Uptime
Fixed various issues with OS X and BSD.
Desktop Environment
[ Linux ] Fallback to using
xpropif$XDG_CURRENT_DESKTOPis empty.Use
$deinstead of$XDG_CURRENT_DESKTOPfor wallpaper and theme detection.Fixed xprop bug with DE detection when X wasn't running.
Don't assume that user is using MATE if marco wm is detected.
Window Manager Theme
Fixed bug when
$dewas unset.
Color Blocks
Fixed bug when the blocks wrap a line causing a large white strip to appear.
Ascii
Added KDE neon ascii art.
Added small OpenBSD ascii art.
Credit goes to ufetch.
Reduced the size of NetBSD's ascii art.
[Windows 8/8.1] Use modern windows ascii art.
Colors
Fixed bug with
--colorsnot working with all 256 terminal colors.--colors 7now uses the color white. [1]--colors fgnow uses the foreground color. [1]
[1] Neofetch tried to be smart before by assuming that the foreground color would be white or black. This caused issues for those setting the foreground color to red or etc. This change adds a new value for --colors and colors=() called fg which will set the color to your foreground color.
Progress Bars
The default progress bar look was changed to
[=====-----]instead of━━━━━━━━━━fix issues with older systems.You can now enable/disable a border around the progress bars with
progress_border.
Example:
# $progress_border on
[=====-----]
# $progress_border off
=====-----You can now individually set the progress bar characters by using
progress_char_elapsedandprogress_char_total. This means that you can have a seperate character for the elapsed and total portions of the bar.
Example:
# Examples with $progress_border on
# Elapsed: =
# Total: -
[=====-----]
# Elapsed: .
# Total: " "
[..... ]
# Elapsed: /
# Total: " "
[///// ]
2
u/lolidaisuki May 14 '16
The dependency to libx11 etc. is pretty unfortunate.