hyfetch/1.8.md
2016-06-14 08:32:37 +10:00

3.9 KiB

Neofetch 1.8

Contributers

General

  • Moved all whitespace trimming to a dedicated function.
    • Neofetch will no longer have any whitespace issues in the output.
    • See trim()
  • Only call tput when we really need to.
  • Supress getconfig and getscriptdir errors.
  • Fix issue when title and background were both color 7.
  • Added --version to print the neofetch version.
  • The title at the top is now much more colorful.
  • Supress xprop errors since it's now an optional dependency.
  • Fix lint errors.
  • Remove all instances of ! -z since they're pointless.
  • Quote all variable/command substitutions.
  • Remove all bc usage by simplifying math.
  • The prompt is now dynamically set in image mode instead of being anchored to the<br > bottom of the window. See #279 for an example.
  • Fix issue with incorrect text color when barinfo is set.

OS

  • Added support for Devuan Linux.
  • Added support for macOS Sierra. @iandrewt

Terminal and Terminal Font

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.<br > [2] See this wiki page for more info about the functions: Link

Info

  • Use faster $(()) syntax for index variables.

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

Shell<br >

Song<br >

  • [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 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]
  • 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

[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.
  • Better Ubuntu-GNOME ascii art. @hashhar
  • Fix a color issue with Debian's ascii logo.
  • Added --ascii_distro mac as a shorter way of using the OS X ascii.