Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Neofetch 1.8

Compare
Choose a tag to compare
@dylanaraps dylanaraps released this 02 Oct 03:06
· 3292 commits to master since this release

This version of neofetch is vastly different from the previous versions and this
changelog won't cover everything that's changed. Have a look through the commit
history for more info.

There were a lot of major changes to how things work in this release so I'm expecting
bugs/things not working for people. Depending on what comes up we my release a few 1.8.X
versions.

This changelog is a bit of a mess this time around and I apologize but it should at least
get the message across.

Android support didn't make it into this release as it requires testing on more devices.
If you've got a device running android and would like to help test out the branch, check
out the open PR here: #322

This release also saw a lot more contributors which makes me really happy. Thanks to those
below for helping out. :)

Contributors

General

  • Added --version to print the neofetch version.
  • Fix issue when title and background were both color 7.
  • Fix issue with incorrect text color when barinfo is set.
  • Fixed various Travis.ci bugs.
  • Fix lint errors.
  • Moved all whitespace trimming to a dedicated function.
    • Neofetch will no longer have any whitespace issues in the output.
    • See trim()
  • Quote all variable/command substitutions.
  • Removed line_wrap as having it set to on broke the output.
  • Removed stdout mode since it's been broken for a while now and I don't see the<br>
    point in fixing it.
  • Removed in-script config in favor of sourcing the default user config.
  • Remove all instances of ! -z since they're pointless.
  • Remove all bc usage by simplifying math.
  • Suppress getconfig and getscriptdir errors.
  • Suppress xprop errors since it's now an optional dependency.
  • The prompt is now dynamically set in image mode instead of being anchored to the<br >
    bottom of the window. See #279 and #299 for examples.
  • The title at the top is now much more colorful.
  • Moved commands near the bottom of the script to a new function called main.
  • Use read -s instead of stty -echo and stty +echo.
  • Use faster $(()) syntax for index variables.
  • -v now shows where the config files were sourced from.
  • Cleanup
  • Neofetch no longer clears the screen when run in ascii or image=off modes.
    • You can use the old behavior by aliasing clear && neofetch to neofetch.

OS

  • Added support for Windows 10 Linux subsystem. @konimex
  • Added support for GuixSD. @konimex
  • Added support for Devuan Linux.
  • Added support for GalliumOS.
  • Added support for Openwrt.
  • Added support for PacBSD. @vendion
  • Added support for Rosa.
  • Added support for Solaris (Oracle / OpenIndiana). @konimex
  • Added support for macOS Sierra. @iandrewt
  • Fixed various iOS related issues.

Packages

Info

Terminal and Terminal Font<br >

img

  • Added term function to display current terminal emulator. [1]
  • Added termfont function to display current terminal font. [2]

[1] Both of these functions are enabled by default.
[2] See this wiki page for more info about the functions: Link

Model<br >

  • Added model a new function which displays your device's product vendor/name.

Mode

Distro<br >

Title<br >

  • Added additional fallback which gets the current username from $HOME.

Color Blocks<br >

  • Added --block_height / $block_height to change the number of lines high each<br >
    block will be.

Big Blocks

Resolution<br >

  • [Windows] Fix resolution on Windows 10. @dar-irl
  • [Mac OS X] Hide refresh rate if 0. @iandrewt
  • Fixed xrandr output on systems not using gawk.
  • [Linux / BSD] Shortened refresh rate output.

Shell<br >

Song<br >

  • Added support for Deadbeef. @konimex
  • Added support for Amarok. @konimex
  • Added support for Banshee. @konimex
  • Added support for Rhythmbox. @konimex
  • [Cmus] Prevent tag artistsort from showing up in song title. @williamkray
  • [Cmus] Fix order of music tags. @iandrewt
  • [Cmus] The function now works on both OS X and Linux.
  • [iTunes] Fix song not displaying. @iandrewt

CPU<br >

  • Simplify CPU Core command.

CPU Usage<br >

  • Fixed broken CPU usage output on BSD and Windows.
  • Fixed misleading output on Linux / Mac OS X.
  • Moved CPU Usage to its own dedicated function.

Image

terminology

  • Added image support for terminology with tycat. @aranega [1]
  • Fixed issues with lines getting drawn through images. See #296
  • Added --crop_mode none / crop_mode=none to disable cropping the images.
  • Added --size none / size=none to disable resizing / cropping the images.
  • Removed image_position
  • --image off now behaves like the other image modes.

[1] tycat is a terminology builtin that works similarly to w3m-img. Those using terminology<br >
now have working image support.

Shuffle mode
  • Fixed directory going out of bounds causing a fallback to ascii mode. @gabe565
  • Simplified shuffle function.
  • Path no longer requires a / at the end. @aranega

Ascii

  • Add ascii_bold which allows you to bold the ascii art.
  • Added --ascii_distro mac as a shorter way of using the OS X ascii.
  • Added missing $ascii_distro config option.
  • Better Ubuntu-GNOME ascii art. @hashhar
  • Custom ascii files (--ascii path/to/ascii_file) now follow the same format as the<br>
    distro ascii files. See this wiki page that explains the syntax. Link
  • Fix a color issue with Debian's ascii logo.
  • Fix an error with an unescaped char in Windows' ascii art.
  • Use a pure bash solution to getting ascii size.
  • Updated Solus ascii art to match new logo. @undrskr