neofetch/CHANGELOG.md
Muhammad Herdiansyah 17f2f5b2a6 docs: changelog
2018-08-16 13:54:21 +07:00

106 KiB
Raw Permalink Blame History

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

Contributors

Info

  • Shell: Fixed output for mksh @nero
  • Packages [macOS]: Added detection of Nix @alyssais
  • Packages: Fixed packages from pkginfo (pkgutils) not appearing in CRUX/Janus Linux.
  • Terminal Font: Added support for Yakuake @plgruener

ASCII

  • Fixed a bug where ASCII logo changes the terminal foreground color. @plgruener

5.0.0 - 2018-06-18

logo

A lot of the script has been rewritten and all lint errors have been resolved. There's probably a few bugs so the version number has been bumped to 5.0. Expect a minor release in the coming days to fix any bugs that come up. Thanks to everyone who contributed to this release.

Contributors

Operating System

  • Added support for Condres OS. @arisinfenix
  • Added support for RedCore Linux. @arisinfenix
  • Added support for Regata OS. @arisinfenix
  • Added support for ClearOS. @arisinfenix
  • Added support for PureOS.
  • Added support for Kibojoe Linux.
  • Added support for SharkLinux.
  • Added support for Linux Lite.
  • Added support for macOS 10.14 Mojave. @iandrewt

General

  • output: Added --json to output the info in json.
  • cursor: Fixed prompt location issues after Neofetch is run.
  • macOS: Fixed neofetch launching XQuartz.
  • misc: Removed uppercase().
  • misc: Removed all instances of export.
  • misc: Removed all deprecated options and functions.
  • info: Removed get_install_date().

Ascii

  • Fixed a bug causing Windows 7 ASCII art to not display.
  • Simplified ASCII art handling.
  • Updated Funtoo ASCII art.

Image

  • Improved performance of image handling.
  • Removed catimg support (It didnt allow us to specify height so we couldnt accurately place the cursor).
  • Fixed tycat, sixel and kitty icat image sizes.
  • Simplified w3m-img code.

Screenshot

See: https://github.com/dylanaraps/neofetch/issues/1001

  • Removed screenshot functionality.
  • Removed screenshot upload functionality.

Info

  • cpu: Remove extra call to uname.
  • cpu: Simplify core calculation.
  • disk: Clean up.
  • font: Fix iTerm2 checking for 2 extra profiles that don't exist. @iandrewt
  • gpu: Fixed ATI/AMD branding issue.
  • gpu: Removed glxinfo usage (too slow).
  • packages: Added support for flatpak. @konimex
  • packages: Added support for snap. @konimex
  • packages: Added used package managers to output (Packages: 900 (pacman, snap)).
  • packages: Fixed issues with pacman 5.1.
  • packages: Fixed issues with dpkg.
  • packages: Removed find usage.
  • packages: Removed ls usage.
  • packages: Removed wc -l usage.
  • song: Added support for gmusicbrowser. @arisinfenix
  • song: Added support for SMPlayer. @arisinfenix
  • song: Added support for Dragon Player. @arisinfenix
  • song: Fixed song detection on macOS.
  • song: Fixed song output on systems using C locale.
  • song: Added mpc_args to send additional arguments to mpc.
  • term_font: Clean up of config file handling.
  • resolution: Added support for xwininfo.

4.0.2 - 2018-05-19

This fixes default config issues on Android, AIX, HP-UX and possibly others.

  • [config] Fixed /dev/stdin error.
  • [config] Added --print_config to display the default config file.
  • [macOS] Fixed xquartz issue.

4.0.1 - 2018-05-18

Note: This release is only required for those running bash <3.3.

  • [config] Fixed issue with default config in bash3.
  • [packages] Simplified code.
  • [term] Fixed macOS issue.
  • [term] Fixed tmux issue.

4.0.0 - 2018-05-17

logo

This release bumps the version number up to 4.0.0 as it contains major changes to how Neofetch is packaged and installed.

The entirety of Neofetch is now contained within a single executable. Everything has been in-lined. Installing Neofetch is now as easy as downloading the script and running it.

Those using distributions with an outdated Neofetch version in their repos can now easily install the latest version themselves.

Thanks to those who contributed this time around and thanks to those who discussed proposed changes in the bug tracker and Discord. I appreciate it. 👍

Discord

Neofetch now has a Discord server. Come and join the discussion!

Contributors

Operating System

  • Added support for ArcoLinux.

General

  • Neofetch is now a single executable.
  • Simplified --version output.
  • Fixed theme issues by setting GIO_EXTRA_MODULES.

Images

  • Added wal/pywal support to get the current wallpaper.
  • Added kitty image backend. @SolitudeSF
  • Added setroot wallpaper support. @SolitudeSF

Ascii

  • Updated Android ascii art to better work on non-unicode terminals. @TsundereBug

Info

Song

  • Added support for VLC. @mstraube
  • Added support for Sayonara. @mstraube
  • Added album data to song output. @mstraube, @iandrewt
  • Added song_format to change the display format of the data.
    • Default: %artist% - %album% - %title%.

Title

  • Fixed unexpected backslash being inserted on some systems.

CPU

  • Added temperature support for Zen processors. @Kayant

GPU

  • Fixed duplicate Intel GPUs.

Terminal Font

Packages

Desktop Environment

  • Fixed Unity output in Ubuntu 18.04. @dawidd6

Window Manager

  • Added support for detecting dwm.

3.4.0 - 2018-04-05

This release adds support for a large number of Linux distros as well as support for the latest macOS and iOS devices. This release also contains a large number of bug fixes and some minor features.

I'm pretty sure that this release is the largest in terms of number of contributors. Thanks to everyone who contributed this release!

Contributors

OS

  • Added support for ArchMerge.
  • Added support for MagpieOS.
  • Added support for PostMarketOS.
  • Added support for Hyperbola GNU/Linux-libre @mstraube
  • Added support for macOS High Sierra. @yslgirl
  • Added support for Container Linux by CoreOS. @chrisweeksnz
  • Added support for 2017 iOS devices. @iandrewt
  • Added support for LEDE. @dawidd6
  • Added support for Pop!_OS. @jliles
  • Added support for Lunar Linux.
  • Added support for 32-bit IRIX. @szfcbr
  • Added support for FreeMINT. @ArmstrongJ
  • Added support for Anarchy Linux. @robertwolter
  • Added support for Calculate Linux. @robertwolter
  • Added support for NuTyX. @robertwolter
  • Added support for openSUSE Tumbleweed. @robertwolter
  • Fixed detection bug with Gentoo.
  • Fixed detection bug with OpenWRT. @dawidd6
  • Fixed detection bug with LEDE. @dawidd6
  • Fixed detection bug with TrueOS. @dawidd6
  • Fixed detection bug with Windows Subsystem for Linux and Crouton when an OS without lsb_release is installed.
  • Fixed ChromeOS detection.

General

  • Added more info to verbose mode for debugging.
  • Fixed bug in prompt location calculation.
  • Fixed prompt bug in OpenBSD.
  • Fixed broken AppleScript blocks. @JadeMatrix
  • Fixed function not working in bash 3. @JadeMatrix
  • Swapped sequences from \033 to \e.
  • Fixed Pacman name conflict with the game. @MitchWeaver
  • Removed the last echo in the script.
  • Fixed typo. @khoacao96

Ascii

  • Added color updates for Kubuntu logo. Maulik Mistry
  • Added new DragonflyBSD logo. @MitchWeaver

Images

  • [MacOS/iTerm2] Fixed thumbnail not appearing. @StarryTony
  • Fixed bug with getting wallpaper from feh.
  • Added pixterm backend.
  • Don't force resolution in catimg.

Info

Desktop Environment

  • Added GNOME version.
  • Added support for TDE.

Window Manager

  • Added support for most (if not all) current Wayland compositors/window manager's.
  • Added support for some non-EWMH window managers.
  • [macOS] Fixed chunkwm being detected as Kwm. @iandrewt

Window Manager Theme

  • Fixed sawfish detection.
  • [macOS] Now detects Light/Dark theme. @JadeMatrix

Install Date

Theme

CPU

  • [linux] Detect the correct temperature file to use.
  • [windows] Removed $temp usage as it's an envar.
  • [OpenBSD] Fixed CPU temperature that fails to appear in some systems. @rage311

GPU

  • [linux] Added driver version to NVIDIA output.
  • [linux] Added driver version to Intel output.
  • [macOS] Added NVIDIA support. @iandrewt

Memory

  • [OpenBSD] Fixed memory usage values. @rage311

Package Manager

  • Added detection for Sabotage Linux's butch @MitchWeaver
  • Changed pacman detection to fix issues in other distros. @MitchWeaver

Resolution

  • [macOS] Fixed errors on non-retina screens. @iandrewt

Song

  • Added option to manually specify the player to use.
  • Added support for Elisa. @mstraube
  • macOS detection is now more reliable. @JadeMatrix

Model

  • Remove more unneeded outputs. @konimex

Disk

Battery

Shell

Terminal Font

3.3.0 - 2017-09-14

Thanks to everyone who contributed this release, I appreciate ya!

Contributors

General

  • Config file now has a .conf suffix.
  • Neofetch now assumes target directories (config file and ASCII directory) at install time, this fixes problems with systems such as NixOS.
  • stdout mode is now reimplemented.
  • Fixed prompt location if color blocks are disabled.
  • Make makefile more portable. @AMDmi3

Operating System

  • Added support for AryaLinux. @mstraube
  • Added support for Amazon Linux AMI.
  • Added support for Artix Linux. @DamnWidget
  • Added support for Endless OS.
  • Added support for Sabotage Linux.
  • Added support for Siduction. @lexruee
  • Added support for Source Mage.
  • Added support for Parsix GNU/Linux. @mstraube
  • Added support for Nurunner. @mstraube
  • Fixed Raspbian being detected as ChromeOS.

Images

  • [w3m] Fixed w3m-img not found on NixOS.
  • Added support for using all image types as input.
    • Neofetch now supports svg, tiff etc.

ASCII

  • Added small Debian.
  • Added small FreeBSD.
  • Added small macOS.
  • Added small NixOS.

Info

GPU Driver

  • [Linux] Added a new info function (off by default) to display the GPU Driver currently in use.
  • Add info "GPU Driver" gpu_driver to your config to use it.

CPU

  • [Linux] Fixed inaccurate output on ARM SoC devices.
  • [Linux] Fixed CPU speed not appearing on PowerPC systems.
  • [NetBSD] Added support for CPU temperature. (NOTE: This only supports newer Intel processors)
  • Fixed inaccurate speed output in systems with CPU speed less than 1 GHz.
  • Deprecated cpu_shorthand in favor of cpu_brand.

GPU

  • [Linux] Filter out duplicate entries.

Model

  • Added support for QEMU/KVM.
  • Renamed subtitle to Host:.

Uptime

  • [AIX/IRIX] Fixed Neofetch crashing when calculating uptime.

Terminal

  • [SSH] Fixed infinite loop if neofetch is run on non-interactive shells.

Terminal Font

  • Added support for LXTerminal. @mstraube
  • Added support for GNUStep Terminal. @mstraube
  • Fixed Xfce4-terminal font output when system-wide font is used. @mstraube
  • Fixed MATE-Terminal issue. @mstraube
  • Fixed URxvt font detection failing if . is used. @winneon

Theme

  • [Qt/KDE] Fixed inaccurate theme naming. @mstraube
  • [Qt/KDE] GTK theme is now shows as well.

Window Manager

Song

  • Added support for Pogo. @mstraube
  • Fixed bug with players not being found.

Battery

  • Added battery support for Thinkpads and other devices that use the CMB naming for batteries. @deadda7a

Images

  • Fixed division by 0 error in XTerm.

Screenshot

  • Use maim over scrot. @ybden
  • Fixed scrot_cmd arguments not being used. @winneon

3.2.0 - 2017-06-21

This release was long overdue and I apologise for the delay. I've been busy with study among other things. This update is smaller than usual but fixes some important bugs.

Thanks once again to everyone that contributed!

Contributors

Operating System

  • Added support for IRIX.
  • Added support for Arch XFerience. @mstraube
  • Added support for CloverOS.
  • Added support for Maui. @mstraube
  • Added support for KS Linux. @Takeya-Yuki

General

  • Minimum required BASH version is now 3.2.
    • (Neofetch has always used 3.2+ features, I've just made it obvious now in the documentation.)
  • Fixed config file not being created on first install.

Images

  • [w3m] Added --loop flag which makes Neofetch draw the image once per second.
    • This is a workaround to the images disappearing on resize and workspace switch.
    • Use Ctrl+C to exit.
  • [w3m] Fixed w3m-img not found on FreeBSD 12. @Artoriuz

Ascii

  • Added Ubuntu-MATE ascii art.
  • Fixed ArchLabs ascii art. @erikdubois
  • Updated GoboLinux ascii art. @WilsonRU
  • Fixed --ascii_distro windows10 not working.

Info

Distro

  • [Solaris, AIX, Haiku] The machine architecture will now be shown properly instead of machine ID.

Terminal Emulator

  • Added support for Neovim terminal emulator. @LER0ever
  • Added font support for mate-terminal. @mstraube
  • [Termite] Fix font mismatch. @MatthewCox
  • Use $SSH_TTY for terminal detection if machine is connected via SSH.
  • Break from loop if PPID can't be accessed/not found.

GPU

  • [Linux] Fixed GPU sort.

Song

  • Do not detect ibus* or indicator* as player. @dawidd6

Model

  • Specify when running on a Hackintosh. @LER0ever

Memory

  • [FreeBSD]: Fix inaccurate free memory calculation.

3.1.0 - 2017-04-25

Hi, It's been quite a while since the last release. I've been extremely busy with university and I finally found some time to flag a new release. (I've been meaning to do this for a few weeks now)

Though I haven't worked on Neofetch as much as I'd have liked, most of the changes this time round come from some familiar faces as well as some new contributors! Thanks to everyone for contributing, I appreciate it.

Contributors

Operating System

  • Added Chrome OS Crouton support. @LER0ever
  • Added support for SliTaz. @nilesr
  • Added support for Nitrux. @mstraube
  • Added support for DesaOS.
  • Added support for MinGW.
  • Added support for OBRevenge. @obrevenge
  • Added support for ArchLabs. @obrevenge

Screenshot

The screenshot feature no longer requires any configuration before working. We no longer hardcode ${HOME}/Pictures/neofetch as the screenshot location. Here's how the -s and -su flags now function:

  • neofetch -s will save a file in the current directory named: neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png
  • neofetch -s test.png will save a file in the current directory called test.png
  • neofetch -s ~/ will save a file in ~ called neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png
  • neofetch -s ~/test.png will save a file in ~ called test.png.

ASCII

  • Arch ASCII art now uses lighter colors.
  • Fixed Ubuntu-Studio ASCII setting. @@HebaruSan
  • Updated Parabola logo. @mstraube
  • Updated Raspbian ASCII art.

Images

  • Added libsixel backend.
  • Added termpix backend.
  • Only use a zero width space in the w3m backend.
  • Fixed bug causing terminal size to not be found.
  • [iTerm2] Fixed images not appearing inside tmux.

Info

Locale

  • Added a new function to display system locale. (Disabled by default)

CPU

  • Added option to show decimals in CPU speed.

Terminal Font

  • Added *experimental* font detection for iTerm2. @dritter

Window Manager

Battery

  • Added battery support for Bay Trail devices. @mstraube

Disk

  • Added new option to only show dir name in subtitle.

Song

  • Added support for Deepin Music. @mstraube
  • Added support for Tomahawk. @mstraube
  • Fixed Audacious song output when dbus-send fails. @mstraube

Local IP

  • [Linux] Fixed UID showing instead of Local IP on several versions/configs of iproute2.

Packages

Resolution

  • [macOS] Fixed screenresolution not appearing at all on newer versions. @eliezio
  • [Linux] Show decimals.

GPU

  • [Linux] Hide duplicate GPU lines (Only display 1).

3.0.1 - 2017-01-30

This minor release fixes all of the bugs that were found in the 3.0 release.

Thanks for all of the bug reports and contributions. :)

Contributors

Operating System

  • Added support for ArchBox Linux.

General

  • Fixed output if subtitles are disabled and prin is used in an info function.
  • Fixed underlines not working when used with prin.
  • Fixed HAIKU install path. @YellowApple

Config

  • Fixed default config not found.
  • Don't set locale in config file.

Info

Memory<br >

  • Changed memory label to MiB on OS that output memory in Mebibytes.

Shell<br >

  • Fixed a crash when the user has bash 3 installed.

Packages<br >

  • Added support for Chromebrew.

GPU<br >

  • [Linux] Display detailed information about Intel GPUs. @SomaUlte

Color Blocks<br >

  • Fixed issue with color_blocks="off" adding an extra newline to the output.

Song<br >

  • Don't print $song if it's empty and song_shorthand is on. @mstraube
  • Fixed mpd detection when mpd is on a different host. @dawidd6
  • Use get_song_dbus for Audacious. @mstraube

Terminal Font<br >

  • [Alacritty] Fixed font detection. @siiptuo

Images

  • [iTerm2] Fixed issue with line-breaks printing spaces over the image. @jorgegonzalez
  • Fixed issue with images not working in Terminology.
  • Fixed issue when image_source was set to wall.
  • [w3m-img] Fixed issues with w3m-img and tmux.

Ascii

  • [Windows 10] Fixed ascii_distro not working.
  • Fixed a bug where the backend is ascii but the image_source is an image file.
  • Fixed custom ascii files not working.
  • Removed extra backslashes from OpenBSD ascii art. @Head-on-a-Stick

Scrot

  • Added message to let users know that a screenshot was taken.

3.0 - 2017-01-23

This is another large release containing over 550 commits from 7 contributors. Due to the size and large amount of changes made this release expect at least one minor release to fix any bugs that come up.

The version number has been bumped to 3.0 due to the large amount of breaking changes introduced this update. I've added backwards compatibility for all of the new changes but there may still be some breakage. I highly recommend starting with a new config to avoid any issues that may arise.

Neofetch now supports displaying images using catimg, libcaca and jp2a. See this wiki page for screenshots. https://github.com/dylanaraps/neofetch/wiki/Image-Backends

Thanks to everyone who contributed this release, there were a lot of new faces this time around. :)

Contributors

IRC

Neofetch now has an IRC channel at #neofetch on Freenode. If you have any questions, issues or ideas feel free to join the IRC channel and I'll be happy to assist you. I know that we've already got the Gitter chat but hopefully this makes things easier for those without a GitHub account. :)

Freenode

Collaborators

I have given collaborator access to both @konimex and @iandrewt. In short this allows them to push directly to the master branch of the repo, manage the issue tracker and also merge pull requests. They've been a huge help the past year so this made sense to me.

OS

  • Added support for AIX.
  • Added support for AntiX.
  • Added support for GNU/kFreeBSD.
  • Added support for Gentoo FreeBSD.
  • Added support for GrombyangOS.
  • Added support for Joyent SmartOS.
  • Added support for Mer.
  • Added support for MINIX.
  • Added support for MX.
  • Added support for Open Source Media Center (OSMC).
  • Added support for SalentOS.
  • Added support for TrueOS.
  • Added support for Windows (MSYS2).

General

  • The default config file is now installed to /etc/neofetch/config and acts as a system-wide config file for Neofetch. Editing this file will make the changes available to all users on the system. Those packaging Neofetch without using the Makefile will need to make changes to support this.
  • The Makefile was rewritten to remove GNU-isms.
  • Removed executable permission from config files. BASH can source them even if they're un-executable.
  • Travis now runs shellcheck on every commit and pull request.
  • Neofetch now supports relative path values when specifying the location to images, ascii files and config files.
    • For example, neofetch --w3m Pictures/Wallpapers/10.jpg and neofetch --w3m 10.jpg now work.
  • Optimize usage of get_de(), get_wm() and `get_term().
    • We were calling these multiple times, we now only run them once and check to see if they were run previously.
  • Optimize info caching, only check for cache files in functions that use caching.
  • The manpage is now generated using help2man. help2man parses the output of --help and --version to create a manpage. This ensures that our manpage stays 1:1 with the script documentation. We actually found a lot of outdated info in the old manpage thanks to this.
    • A new flag was added called --gen-man which generates a neofetch manpage in your current directory.
  • Delete most of info() and instead call prin().
    • This removes a lot of duplicate code between info() and prin().
  • Remove printf subshells and instead use printf -v to declare the variables.
  • Fixed artifacts when using line-breaks in TTYs.
  • All errors are now sent to stderr.
  • Renamed XFCE --> Xfce. @gavinhungry
  • Cleanup main().
  • Renamed old_flags() --> old_options().

Info

Shell<br >

  • [Fish] Fixed memory leak caused by Fish.
  • Added support for xonsh.
  • Fixed version output on ksh.
  • Rewrote the function to remove duplicate code.

Uptime<br >

  • Moved duplicate code to a function.
  • Changed $uptime_shorthand to on by default.

Desktop Environment<br >

  • Fixed issues where MATE wouldn't be detected properly.
  • Added fallback to $DESKTOP_SESSION, $MATE_DESKTOP_SESSION_ID and $GNOME_DESKTOP_SESSION_ID.
  • Hide Desktop Environment if it matches Window Manager.

CPU<br >

  • [Linux] Don't simplify cpufreq speed option names for no reason.
  • [Linux] Fixed issues with CPU name detection for architectures other than x86/amd64/ARM.
  • [NetBSD] Remove case statement in favor of 1 line test.
  • Simplify check for low CPU speeds.
  • Expanded cpu_temp to take the values C and F. This means you can now display the CPU temperature as Fahrenheit.

CPU Usage<br >

  • Added Haiku cores command.
  • Updated Linux and macOS commands to the match the commands in the get_cpu() function.

GPU<br >

  • [Linux] Each GPU is now printed on a separate line.
  • [Linux] Added --gpu_type / $gpu_type which lets you display all, dedicated or integrated GPUs.

Memory<br >

  • [Solaris] Fixed inaccurate used memory size.

Resolution<br >

  • [Windows] Declare variables locally to fix conflicts in other functions.

Birthday Install Date<br >

  • Renamed get_birthday() -- > get_install_date()
  • Removed all date command usage from get_install_date().
  • Added a new function called convert_time() which takes the time stamped ls output and converts it to a pretty format. The function only uses bash so its much faster than calling date. This makes things simple and keeps the output consistent across all Operating Systems. Example: 2016-12-06 16:58:58.000000000 --> Tue 06 Dec 2016 4:58 PM
  • Added an option so users can choose between using 24-hour and 12-hour time format
  • get_install_date() will detect which ls program is being used instead of hardcoding them per OS.

Disk<br >

  • Rewrote function from scratch.
    • The function is 40 lines smaller than before and works on all [1] versions of df we tested on [2].
  • Added the option/flag disk_show which allows you to specify which disks, mount points or directories to show the disk info of. (One per line)
  • Added the option/flag disk_subtitle which allows you to specify how we label each disk. (Mount point or Disk name)
  • Removed all percentage calculation since df already provides us with the percentage.
  • Warn the user if df isn't installed.
  • Fixed broken output if df wasn't installed but the function was enabled.

[1] The function doesn't work on Haiku since their df is wildly non-standard. (The output format and flags are 100% different from all of the other df versions floating around.)

[2] Tested on GNU, Busybox, BSD, Solaris and macOS df versions.

Theme<br >

  • [KDE] Don't display GTK Themes if KDE is detected.
  • [KDE] If kde[0-9]-config isn't found, try and look for $HOME/.kde.

Window Manager Theme<br >

  • Fixed WM Theme not detected on MATE. @mstraube
  • Fixed WM Theme detection on KDE. @mstraube

Song<br >

  • Added support for xmms2. @z33ky
  • Added support for Exaile music player. @mstraube
  • Added support for JuK .@mstraube
  • Added support for Bluemindo. @mstraube
  • Added support for Guayadeque Player. @mstraube
  • Added support for Yarock. @mstraube
  • Added support for Qmmp. @mstraube
  • Added support for QuodLibet. @mstraube
  • Added support for Mopidy. @d3rrial
  • [cmus] Simplify block and fix artistsort bug.
  • Removed state detection.
  • Removed duplicate dbus-send commands. @mstraube
  • Hide output if no song is playing.
  • Enforce order artist - title in get_song_dbus(). @mstraube

Terminal Font<br >

  • Added support for Alacritty.
  • Added support for Konsole. @mstraube
  • Added support for Sakura Terminal. @mstraube
  • Added support for Pantheon Terminal. @mstraube
  • Added support for deepin-terminal. @mstraube
  • [Termite] Fixed incorrect font chosen. @mstraube
  • [Termite] Also look at default config. @mstraube

Battery<br >

  • [MacOS] Fixed issue where battery always appears as charging. @jorgegonzalez

Local IP<br >

  • [BSD and Solaris] Merged the detection to Linux.
  • [Windows] Support multiple interfaces.

Color Blocks<br >

  • Use start++ instead of adding it manually after case. @konimex
  • Fixed bug where color blocks wouldn't respect width in TTYs.
  • Cursor positioning now takes $block_height into account.
  • Fixed all artifacts in virtual consoles.
  • Merged $start and $end into an array called block_range.
    • This makes the config option match the command-line flag --block_range.

Images

  • [iTerm2] Fixed blank images.
  • Fixed bug where image mode would attempt to run in a TTY.
  • All of the image/ascii backend handling was rewritten. Backend and Image/File/Directory selection is universal now and should make usage easier.
    • Added catimg backend.
    • Added caca backend.
    • Added jp2a backend.
    • --image has been replaced with --backend.
      • --backend takes ascii, caca, catimg, jp2a, iterm2, off, tycat, w3m.
    • Shortcut flags were added for easy picking of backends.
      • Each flag can take a file, image or directory as an argument.
      • For example: neofetch --w3m /path/to/img.jpg neofetch --ascii /path/to/file
      • --w3m
      • --iterm2
      • --tycat
      • --ascii
      • --off
      • --catimg
      • --caca
      • --jp2a
    • All image and ascii file selection has been replaced with the universal --source.
      • The value of --source can be any of the following:
      • auto, ascii, wallpaper, /path/to/img, /path/to/ascii, /path/to/dir/.
  • Fixed bugs with image shuffle mode.

Wallpaper

  • Decode URI filenames.

Ascii

  • Simplified ascii file handling.
    • Removed a call to tr for those using bash 3.
    • Fixed distro detection issues.
    • Removed the assumption that first word in distro --> ascii file name
  • Added Ubuntu-Studio. @konimex
  • Fixed bug causing macOS ascii art to be used on other Operating Systems.
  • Display warning about 'ascii' being the new default mode.
  • Removed ascii_logo_size in favor of ascii_distro='{arch,crux,gentoo}_small'.
  • [PCBSD] Use TrueOS ascii art.
  • Added Void Linux (small) and Alpine Linux (small).

Screenshot

  • Use arrays for $scrot_program

Args

  • Fixed bug where neofetch --config sourced the user config twice.
  • Cleaned up config arg handling.

2.0.2 - 2016-12-07

This minor release fixes some issues related to new features added in 2.0. These issues weren't picked up in the time between 2.0 and 2.1 and another minor release is needed due to the Packages issue being rather important.

These issues were fixed by reverting the GPU caching and Packages optimizations. These issues occurred because not enough testing was done before these were implemented in master. In the future I'll take more care with testing these larger changes before they hit the master branch and I apologize for there being yet another release in one week.

I also want to apologize to those packaging Neofetch for this unexpected release.

Info

Packages<br >

  • Fixed issue where package output was off by one.

GPU<br >

  • Fixed bug with --gpu_brand not working.

Theme<br >

  • [Cinnamon] Fixed incorrect information.

2.0.1 - 2016-12-06

This release of Neofetch fixes some important bugs that were found after 2.0 was release. This includes: Detection issues on CentOS and Linux Mint systems, Incorrect Memory usage on BSD, Linux GPU detection issues and more.

This release also includes a rewrite of the screenshot functions. You no longer have to set the program to use in your config. Neofetch now automatically finds and uses whatever screenshot tool is available on your machine.

See the screenshot section below for more info.

The get_packages() function was optimized. Neofetch's packages function works by detecting which package managers are installed on your system and then using a sum of those as the packages output.

Previously the function would call wc -l for every package manager, instead we now call wc -l only once at the end of the function.

Thanks for reporting these bugs and also suggesting these features. Don't be shy, report any bugs, annoyances or etc with Neofetch and I'll happily help you out.

Thanks to @konimex for all of his contributions this release. :)

Contributors

General

  • Use $kernel_name instead of $distro in some functions. @konimex

Info

Distro<br >

  • Added support for Apricity OS.
  • Added support for GoboLinux. @konimex
  • Added support for SwagArch.
  • Added support for AOSC OS.
  • Added support for Parrot Security.
  • Fixed bug that caused Linux Mint systems to be identified as Ubuntu.
  • Fixed bug that caused CentOS systems to not be detected.

Memory<br >

  • [BSD] Fixed high memory output.

GPU<br >

  • [Linux] Fixed bug where sound card was detected as GPU.

Packages<br >

  • Only call wc -l once at the end of the function instead of calling it once per package manager.

Desktop Environment<br >

  • Show Cinnamon version.

Image

Wallpaper

  • Rewrote wallpaper function.
  • Prioritize DE wallpaper setters before falling back to feh/nitrogen.
  • Added support for XFCE's wallpaper setter.
  • Added support for Solaris and GNU Hurd. @konimex

Ascii

ubuntu <br >Old Ubuntu Logo vs New Ubuntu Logo

  • Updated Ubuntu logo to the latest version.
    • You can use the old logo by launching neofetch with --ascii_distro ubuntu_old or by changing $ascii_distro to ubuntu_old in your config file.
  • --ascii_colors no longer changes text colors.
  • Added ascii art for Ubuntu-Budgie.
    • You can use the ascii art by launching Neofetch with --ascii_distro ubuntu-budgie or by changing $ascii_distro to ubuntu-budgie in your config file.
  • Fixed bug causing RFRemix to use the incorrect ascii art.

Screenshots

Neofetch will now automatically find and use whatever screenshot tool is available on your system. The screenshot tool is no longer hardcoded and you don't have to edit your config file to specify what program to use.

On Haiku and macOS, Neofetch will use the built-in tools to take screenshots. On systems with an X server Neofetch will look for and use the following programs: scrot, maim, import (imagemagick), imlib2_grab and gnome-screenshot.

The config option scrot_cmd and the commandline flag --scrot_cmd are still there for those who want to use custom flags, programs or scripts to take screenshots.

  • Automatically use whatever screenshot tool is available.
  • Added screenshot support to macOS
  • Added screenshot support to Haiku

Screenshot Upload

  • [teknik.io] Fixed images not uploading with the right filetype.
  • Changed default image upload host to teknik.io.
    • teknik doesn't compress images whereas imgur does.
    • You can change this back to imgur by using --image_host imgur or by editing your config file.

2.0 - 2016-12-02

This is the biggest release of Neofetch in a long time. 97 files were changed with 2700~ additions to 2900~ deletions. Although the changelog isn't as interesting this time majority of the script has been rewritten, restructered and cleaned up. Every function and variable name follows a proper naming scheme and a large number of bugs were fixed.

Since this version of Neofetch differs so much from the previous versions expect a 2.0.1 release a few days later to fix any bugs that are found after release.

The ascii file handling was rewritten, ascii art is now stored/read as plain text! All eval usage was removed from Neofetch, vim fold markers/comments are no longer enforced and we now run on GNU Hurd, Haiku and more.

When I was rewriting parts of the script I thought to myself; Neofetch is using the bash shebang and does depend on bash so why not take full advantage of the features bash has to offer? All tests were changed from [ to [[, arithmetic tests now use (()) and C style for loops are used where possible.

All of the config file documentation was rewritten and multiple wiki pages were created to hopefully make using/configuring Neofetch easier than ever before. You can see the wiki here: Neofetch Wiki

Some of the config options/arguments were renamed/changed and Neofetch will warn you on run if you're using deprecated options (neofetch -v). For this release Neofetch will include backwards compatibility with the old config file but I'd like to remove this stuff in 2.1 3.0. I recommend using this release with a fresh config file so that you can make use of the new documentation.

I say this every release; This changelog is incomplete, for a full list of changes take a look through the commit history. Neofetch now has an unspoken commit style so reading the commit history won't hurt as much as it used to.

Thanks to all of the contributors this time around, you guys are a big help and I really appreciate your work towards making Neofetch better and better each release. :)

Contributors

Packages

  • Neofetch is now in Debian's official repos.
  • Neofetch is now in Ubuntu's official repos.

General

  • All functions/variables now follow the same naming scheme. example_func_name
  • Call uname once and cache the output instead of calling uname 4-5 times.
  • Cleaned up and rewrote large chunks of the script.
  • Convert math tests to correct syntax.
  • Fixed --disable and capitalized arguments.
  • Fixed issue where bold=off wouldn't work.
  • Fixed issue where info wasn't detected properly but the subtitle was still displayed.
  • Fixed issue where using --disable func func broke other args.
  • Removed all traces of eval from Neofetch.
  • Removed all vim fold markers and stopped enforcing folding for vim users.
  • Rewrote all of config file documentation.
  • Swap all tests from [ to [[.

Operating System

  • Added support for ChaletOS.
  • Added support for DracOS.
  • Added support for GNU Hurd. @konimex
  • Added support for Haiku. @konimex
  • Added support for Korora. @konimex
  • Added support for Netrunner. @konimex
  • Added support for Pardus.
  • Added support for iPhone 7 and 7 Plus.

Ascii

  • Ascii art is no longer read as a script and is now read as plain text.
  • Neofetch now displays your OS's ascii logo if your distro's logo isn't found. @konimex
    • Example: [Linux] Tux is displayed if there's no distro ascii.
  • neofetch --ascii_distro x now sets the mode to ascii for you. You no longer have to use a combination of --ascii and --ascii_distro.
  • [Arch Linux] Changed default ascii colors.
  • [Bunsenlabs] Changed default ascii colors.
  • Fixed issue with Solarized and certain ascii art.
  • Remove all duplicates from get_distro_colors().
  • Remove execution permission flag from ascii art files. @iwamatsu
  • Rename colors() to get_distro_colors().
  • Rename setcolors() to set_colors().
  • Update Netrunner ascii art.
  • Added old arch ascii logo. @Brottweiler
    • Useable by using --ascii_distro arch_old or by editing the config.

Images

  • Fixed images not appearing in st.
  • Added to_ascii() and to_off().
    • These functions are used when falling back to different image modes.
  • Renamed check_old_flags() to old_flags() to match old_functions().
  • Split get_image() into get_term_size(), get_image_size(), get_image_program() and make_thumbnail().
  • Use $XDG_CACHE_HOME as the thumbnail dir if available.

Wallpaper

  • Added support for Cinnamon.

Bars

  • Rename all progress_ variables to bar_ to match the function name.

Info

Distro<br >

  • [Linux] Source /etc/*-release files instead of having a dozen separate awk commands.
    • We source /etc/os-release before falling back to /etc/*-release.
  • Remove lsb_release detection.
    • This change was made since lsb_release prints innacurate results on some distros.
  • Added fallback when distro isn't found. @konimex
    • Example: Linux (Unknown)

Packages<br >

  • [Solus] If pisi is unavailable, use eopkg.
  • Added package detection for Lunar Linux. @konimex
  • Added package detection for TinyCore. @konimex
  • Remove /usr/games from $PATH to fix issues with pacman game.

GPU<br >

  • GPU is now cached till reboot.
  • [Linux] Prefer dedicated GPU over integrated GPU.

Terminal<br >

Terminal Font<br >

CPU<br >

  • [BSD] Added cpu_temp support. @konimex

CPU Usage<br >

  • [iOS] Fixed CPU usage.

Shell<br >

  • [bash] Simplify bash version.

Song<br >

Public IP<br >

  • Cache the output of the command. @konimex
  • [dig] Fixed connection timed out with public_ip. @iandrewt

Resolution<br >

  • [MacOS] If refresh rate is empty don't append Hz.

1.9.1 - 2016-11-04

This is a small release which fixes various issues found in 1.9.

Note: Those packaging neofetch can ignore the new file: config/travis

Contributors

Packages

  • Neofetch is now in Termux`s repos.

General

  • [Cursor Position] Fix cursor position in URxvt when using terminal padding.
  • [Termux] Fix default ascii location. @konimex
  • [Termux] Fix default config location. @fornwall
  • If a function fails to detect info, let the user know in verbose mode. (-v)
  • Removed --test in favor of a separate config file. Travis.ci now uses neofetch --config travis instead of a hacked together arg.

Operating System

  • Added support for BlankOn Linux.

Images

  • Fix division by 0 error.

Ascii

  • [Tails] Update ascii art.
  • [OpenBSD] Made ascii art thinner

Info

Prin<br >

  • Fix color breakage.
  • Fix bold not working.

Terminal<br >

  • Fix whitespace error.

Terminal Font<br >

  • [Termite] Fix incorrect Termite font chosen.
  • [Termite] Simplify awk command.
  • [xfce4-terminal] Simplify awk command.

Theme<br >

  • [Budgie] Fix incorrect GTK Theme/Icons

Window Manager Theme<br >

  • [Budgie (Mutter)] Don't print WM Theme.

Memory<br >

1.9 - 2016-11-01

This change log won't cover everything that's changed. Have a look through the commit history for more info.

There were a lot of major changes made to how things work in this release so I'm expecting bugs/things not working for people. Expect a 1.9.X release.

I'm also looking for neofetch screenshots for the Readme, see this issue: #405

Thanks to everyone below who contributed, it's nice to see some new faces too. :)

Contributors

General

  • Added new function called checkoldflags which informs users about deprecated config options.
  • Change all OS X references to macOS. @iandrewt
  • Fix corrupted text when long lines are cut-off.
  • Don't dynamically place prompt in image=off mode.
  • Cursor Position: Fix issues when using URxvt+Padding

Operating System

android

  • Added support for Android.
    • Dependencies:
      • Required: bash and busybox
      • Note: I recommend installing termux from the Play Store or F-Droid. Termux provides you with a fully working Linux environment, doesn't require root acess and includes all dependencies.
      • Note2: Neofetch will be packaged in termux thanks to @konimex
  • Added support for Bitrig. @konimex
  • Added support for Sparky Linux.
  • Added support for Porteus. @ncmprhnsbl
  • Added support for Red Star OS. @koreacomputercenter

Packages

  • Neofetch is now in Gentoo's official repos.

Images

Fixed rendering issues in URxvt when using an XFT font.

scrot

This was first thought to be an issue between URxvt and W3m-img and I apologize for immediately closing bug reports and dismissing comments about this.

I spent yesterday trying to fix this issue and found out that launching neofetch with --bold off reduced the rendering problems. I did more digging and found out that removing all text formatting fixes the issue entirely. I later found out that adding a single unformatted character before the formatted text fixed the issue while keeping the formatting the same.

I opened up this PR https://github.com/dylanaraps/neofetch/pull/358 which added options to enable a border between the image and the text to fix the issue. @konimex later commented informing me that we could just use a zero-width space to fix the issue and that we didn't need a new function/args/ugly border. doh

The final fix was as simple as adding a zero-width space before the info, here's the commit.

3e9c3d648c

Removed hard dependency on \033[14t

Neofetch no longer requires a terminal emulator that supports \033[14t this means that neofetch now works in Konsole. Instead of using the escape sequence users now have three options for getting the terminal size in pixels.

  • xdotool
  • xwininfo + xprop
  • xwininfo + xdpyinfo

Neofetch will detect whatever combination you have insalled and use these programs.

Note: \033[14t is still supported, if images already work for you then you don't have to install anything else.

  • [w3m-img] Draw the image twice to fix rendering issues in Konsole.
  • [w3m-img] Fix cursor position when using yoffset.
  • [w3m-img] Add -bg support with the new option --bg_color.
    • neofetch --bg_color blue will make the background behind the image blue.
    • Note: The background color is only visible behind transparent parts of the image.
  • If the terminal width is found as 0, fallback to ascii mode.

Ascii

  • Bold ascii art by default.
  • Fixed incorrect prompt location when using ascii_logo_size small.
  • Fixed incorrect colors used on light terminals.
  • Update Void Linux ascii art. @ncmprhnsbl
  • Update Solus ascii art.

Info

Distro<br >

  • Expanded distro_shorthand to macOS, BSD and Solaris. @konimex
  • Removed osx_buildversion and osx_codename in favour of distro_shorthand. @konimex

Desktop Environment<br >

  • [Windows] Added support for showing DE.
    • Windows 8 and above: Modern UI/Metro
    • Windows 7 and below: Aero

Window Manager<br >

  • [Windows] Added support for custom WMs/Shells.
    • Neofetch now detects blackbox, bugn, Windawesome, emerge and litestep.

Window Manager Theme<br >

  • [Windows] Added support for Blackbox themes.

CPU<br >

  • Added cpu_speed which lets you hide/show the speed in the output.
  • Expanded cpu_cores option by adding two new values, logical and physical.
    • logical: Show all virtual cores (hyperthreaded).
    • physical: Only show physical cores.
  • [Linux] Added support for showing CPU temperature.
    • Added new option called cpu_temp.
    • Note: This is disabled by default and can be enabled by changing the value of cpu_temp in your config to on.
  • [macOS] Print physical cores instead of hyper-threaded cores. @iandrewt
  • [iOS] Rewrite CPU function.

GPU

  • [iOS] Rewrite GPU function.
  • [Linux] Rewrite GPU function.
    • Neofetch also caches the info until reboot.

Uptime<br >

  • Rewrote uptime function to use seconds since boot instead of the uptime command.
    • Every OS/Distro now has the pretty uptime -p output!
  • Remove up from output.

Resolution<br >

  • [macOS] Add @2x label for retina resolutions. @iandrewt

Memory<br >

Shell<br >

  • Hide shell path by default.
  • Show shell version by default.

Battery<br >

  • [Linux] Rewrote and simplified battery function.
  • Removed battery_shorthand
  • Removed battery_num

Theme Font<br >

  • [XFCE] Fixed incorrect font output.

Color Blocks<br >

  • Fixed block_width not working.
  • Fixed % s appearing in color blocks when neofetch is run from tty
  • Fixed block_width being off by one. A value of 2 made the blocks 3 wide instead of 2 wide.

Terminal and Terminal Font<br >

  • [Linux] Use /proc/$PPID/comm instead of parsing ps.
  • Uppercase first letter of termfont output.
  • Don't print broken output of busybox's ps.
  • Remove path from output.

Song<br >

  • [macOS] Fix iTunes automatically opening. @iandrewt
  • Added support for Audacious. @ncmprhnsbl
  • Rewrote song function, it's now much faster/cleaner.

1.8.1 - 2016-10-04

This release fixes various bugs found in 1.8.

General<br >

  • Fixed issues with single args (-s -su) being treated as values for other args.

Info

GPU<br >

  • Added gpu_brand to enable/disable showing GPU brand in output. (AMD/NVIDIA/Intel)

DE<br >

  • Added Cinnamon version number to output.

WM Theme<br >

  • Fix GNOME showing wrong WM Theme.

Battery<br >

  • Fixed battery not appearing when set to all.

Terminal Font<br >

  • [Termite] Ignore lines starting with ;.

Progress Bars<br >

  • Fixed progress bars displaying incorrectly in image mode.

Screenshot

  • Added support for uploading screenshots to Imgur and Teknik.
    • Adds two new identical flags --upload and -su.
  • Changed default screenshot name so that it works on Windows.

Images

General<br >

  • Added a tiny delay before running w3m-img which suprisingly fixed all flickering issues in VTE based terminals. See #349

Wallpaper<br >

  • Fix wallpapers with spaces in the filename from not showing up.

Ascii

  • Added logo mode which only displays the ascii art.
    • Adds two new identical flags --logo and -L.

1.8 - 2016-10-02

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

1.7 - 2016-05-14

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 bold option 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

Error Messages

Neofetch now supports displaying error messages and saving a verbose log for troubleshooting.

log

  • Added -v to print error messages to stdout.
  • Added -vv to 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 prin use the same args as info.
# OLD Format
prin "Subtitle: Text goes here"

# NEW Format
prin "Subtitle" "Text goes here"

Title

  • Made title faster by using $HOSTNAME when available.

Underline

  • Fixed bug with --underline on/off not working.
  • Underlining is no longer hardcoded to title length meaning you can now underline any part of the output and the length will match.
  • $underline was renamed to $underline_enabled.
# OLD Variable
underline="on"

# NEW Variable
underline_enabled="on"

Distro

  • Fix arch issues with ARM cpus.
  • We now use uname -m to get the arch instead of hardcoding x86.
  • Moved distro detection to a function called getdistro.
  • Fixed issue with ascii_distro not working.

CPU

  • Fixed issues when cpu speed was < 1Ghz
  • Cleanup of CPU function.
  • Don't print Dual-Core or Quad-Core in CPU output.

GPU

  • [Linux] More GPU substitutions for AMD cards.
  • Added BSD support using glxinfo.

Memory

  • [Linux / Windows] Use memavail if 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 dpkg and pacman installed 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 xprop if $XDG_CURRENT_DESKTOP is empty.
  • Use $de instead of $XDG_CURRENT_DESKTOP for 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 $de was 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 --colors not working with all 256 terminal colors.
  • --colors 7 now uses the color white. [1]
  • --colors fg now 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.
# $progress_border on
[=====-----]

# $progress_border off
=====-----
  • You can now individually set the progress bar characters by using progress_char_elapsed and progress_char_total. This means that you can have a seperate character for the elapsed and total portions of the bar.
# Examples with $progress_border on

# Elapsed: =
# Total: -
[=====-----]

# Elapsed: .
# Total: " "
[.....     ]

# Elapsed: /
# Total: " "
[/////     ]

1.6 - 2016-04-01

Neofetch 1.6

Another week another release of Neofetch.

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

This release surprisingly didn't break much at all, see the latest entry in the wiki page Following HEAD.

https://github.com/dylanaraps/neofetch/wiki/Following-HEAD

scrot

Contributors

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 white-space 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.
  • Change all usage of $HOME/.config to $XDG_CONFIG_HOME with a fallback to $HOME/.config.

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

Colors

vs

Neofetch 1.5 vs Neofetch 1.6

Neofetch now works with bright color schemes and uses the foreground color instead of hard-coding white.

<br >

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

Window Manager Theme<br >

  • Added new WM Theme function to print window manager themes.

OS<br >

  • [ CRUX ] Also print the CRUX version. @onodera-punpun
  • [ Fedora ] Fixed a weird detection bug.

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
  • Each source now has a timeout to avoid a hang.
  • If the IP detection fails we try another method.

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.
  • [ FreeBSD ] Fixed disk usage not working.

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.

Image

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

1.5 - 2016-03-17

Neofetch 1.5

Xubuntu

Contributers

Thanks to the following people for helping me to improve neofetch.

General

  • Remove all echo usage inside the script.
  • More cleanup and misc bug fixes.

Packages

  • Neofetch is now packaged for Fedora and Fedora based distros. @konimex.
  • Added installation instructions for RHEL and CentOS. @konimex.
  • Added stable package to the AUR. neofetch

Progress Bars

This has finally been merged to master, a big thanks to @iandrewt for helping me finish up with this PR.

bars

  • Added progress bar support to CPU, Memory, Disk, Battery.
  • Added progress_char which allows you to change the character used when drawing the bars.
  • Added progress_length which allows you to set the max length in spaces of the bars.
  • Added progress_elapsed_color which sets the elapsed color.
  • Added progress_total_color which sets the total color.
  • Added --progress_colors which takes two color values: elapsed, total.
  • Added cpu_display, memory_display, disk_display and battery_display which allow you<br > to customize where or if the progress bar will appear.
    • Takes these values: info, bar, infobar, barinfo

OS

  • Added support for SteamOS.

Images

  • Using xoffset now also moves the text over.
  • Changed default gap size to 2.
  • Fixed an issue with Nitrogen and multi monitor wallpaper setups. @CousinMachu

Ascii

  • Kaos: Update ascii logo to the new logo.
  • Added ascii logos for Kubuntu, Lubuntu, Xubuntu and ubuntu-gnome.
    • You can enable them with --ascii_distro kubuntu, --ascii_distro lubuntu and etc.

Info

OS<br >

  • [ OSX ] Fix buildversion displaying regardless of on/off. @iandrewt
  • [ OSX ] Added osx_codename (on by default) which prints the OSX codename. @iandrewt

Disk Usage<br >

  • Only display usage of local disks.
  • Fixed disk usage progress bars when the used value was larger than the total. @iandrewt

Theme<br >

  • Added /usr/share as another theme directory to fix an issue with no theme being found. @iandrewt

CPU<br >

  • Added cpu_shorthand to shorten the output of CPU. @iandrewt
    • Takes these values: name, speed, tiny, on, off
  • Added the ability to print the CPU Usage by using cpu_display="info" or --cpu_display off/on info.
  • Added cpu_cores to enable/disable showing the number of CPU cores in the output. @iandrewt

GPU<br >

  • Added new tiny option to gpu_shorthand to further shorten the GPU output. @iandrewt

Memory<br >

  • Fix hang on older systems.

Desktop Environment<br >

  • Fixed bug where i3 would show up as both a DE and a WM.

Birthday<br >

  • Fixed the birthday function on OS X, it apparently wasn't working from the start. @iandrewt

Song<br >

  • [ OSX ] Added Spotify support to song. @iandrewt
  • [ OSX ] Added Itunes support to song. @iandrewt
  • Fix bug with song_shorthand and songs with more than one occurence of -.

Battery<br >

  • Fixed a naming error when multiple batteries are displayed. @iandrewt

Stdout Mode

  • Fixed issues with functions that use prin.

1.4 - 2016-03-09

Lots of bugs were fixed and a lot of code was cleaned up, this changelog just lists the major changes made to neofetch. For a full list, checkout the git commit history.

Thanks to everyone for contributing, I appreciate it!

  • Renamed fetch to neofetch. Thanks for voting.
  • Neofetch now has a man page. (man neofetch) Thanks @konimex
  • Added support for Alpine Linux.
  • Fix issue with color blocks ending up on the same line as the prompt.

Packages

  • Added Debian/Ubuntu package. Thanks @dawidd6
  • Added Homebrew package for OS X. Thanks @iandrewt

Info

  • Reimplement color function.

Battery<br >

  • Added support for NetBSD

Song<br >

  • [Linux] Added support for Spotify.

Birthday<br >

  • Added --birthday_format and $birthday_format to change the date format of the<br > birthday function. The flag uses the date cmd's format options so see man date<br > for a list.

Packages<br >

  • Fix 0 package count in Slackware. Thanks @h3xx

GPU<br >

  • Added more GPU substitutions.

Example:

neofetch --birthday_format "%D"
neofetch --birthday_format "%a %d %b %Y %l:%M %p"
neofetch --birthday_format "%c"

Theme<br >

  • Fix incorrect theme detection on Cinnamon.

Ascii

  • Added small ascii logo variants for Arch, Crux and Gentoo. [1]
  • Added new flag/option ascii_logo_size that takes the values normal and small.
  • Optimized all ascii art fixing all leading whitespace issues.

[1] The small ascii art was taken from ufetch.

Example of small ascii logo:

CRUX

Stdout

  • Don't create config file when using --stdout.
  • Simplified stdout function.
  • Reimplent --stdout_separator and $stdout_separator which allow you to change<br > the separator between the info.

Example:

# Display memory, battery and disk in a single line separated by "  |  "
# This output can then be used in lemonbar etc.
neofetch --stdout memory battery disk --stdout_separator "  |  "

1.3 - 2016-02-26

Fetch 1.3

Hey guys,

This update brought some breaking changes, see this wiki page for what you'll need to update in your config file.

https://github.com/dylanaraps/fetch/wiki/Following-HEAD

We're in the middle of renaming 'fetch' to something else as there are already other programs using the name and we don't appear in any searches.

You can help out by voting in our poll here:

http://strawpoll.me/6894425

  • Fetch now supports bash 3.0+.
  • More cleanup
  • The text is now by default colored according to your distro's logo.
  • Removed $*_color variables/flags in favour of a general $colors variable/flag. See my writeup here: https://github.com/dylanaraps/fetch/pull/96

Image

  • You no longer need to set the font_width value, your font size is now calculated by fetch automatically.
  • Image sizing now takes terminal height into account.
  • --size now also takes a percentage as a value, for example.
# Image takes up 70% of the terminal size.
fetch --size 70%

# Size the image in pixels.
fetch --size 200px

Packages

  • Fetch now has a crux port. Thanks @ix.

OS

  • Added support for BunsenLabs.
  • Added support for SailfishOS. (Untested)

Info

  • Don't display Theme, Icons, Font or Window Manager if X isn't running.
  • Added function to show currently logged in users.

Window Manager

  • Add support for Wayland window managers. (Hardcoded)

Song

  • Added song_shorthand which prints the Artist/Title on seperate lines.

Theme

  • Windows Visual Style is now a part of getstyle.
  • Disabled theme output on OS X to fix a gsetttings related crash.
  • Uppercase the first letter of the theme.

Resolution

  • Added Windows support.
  • Enabled by default but only displays info if the dependency is found.

Battery

  • Added FreeBSD and OpenBSD support. Thanks @tudurom.

GPU

  • Added more substitutions/

Stdout

Printing to stdout in a plaintext format for use in scripts is now much faster and cleaner.

  • Removed --stdout_separator (Separator is now 2 spaces)
  • Removed --stdout_subtitles
  • Removed --stdout_title

1.2 - 2016-02-17

Fetch 1.2

This new release comes with a few config breaking changes, see this wiki page for info on how you can workaround the issues.

https://github.com/dylanaraps/fetch/wiki/Following-HEAD

  • Fetch now has a gitter chatroom. Gitter
  • Fixed text padding when the user didn't have the locale en_US.UTF8 installed.
  • Cleaned up parts of the script.

OS

We now support almost all the Linux distros Screenfetch supports excluding the distros that have been discontinued.

Added support for these distros:

  • Puppy Linux
  • Kali Linux
  • openSUSE
  • Raspbian
  • Mageia
  • PCLinuxOS
  • Zorin OS
  • Tails
  • BLAG
  • Void Linux
  • Trisquel
  • Solus
  • Peppermint
  • NixOS
  • Chakra
  • Mandriva
  • gNewSense
  • LMDE
  • KaOS
  • Sabayon
  • Frugalware
  • Chapeau
  • Slackware
  • Scientific Linux
  • Exherbo
  • Chrome OS
  • Chromium OS

Makefile

  • Fixed makefile on OS X El Captain.
  • $PREFIX is now also used when installing ascii art and the default config

Wallpaper

  • Fetch now supports using MATE desktop's wallpapers.
  • Fetch now fallsback to ascii mode if the found wallpaper is an xml file. This fixes issues where the wallpaper set by gsettings is an xml file.

Info

Desktop Environment:

  • Added support for showing the user's DE.

Window Manager:

  • xprop is now a required dependency. See #79.
  • Renamed 'windowmanager' to 'wm'

IP Address:

  • Added function to get your local IP
  • Added function to get your public IP [1]
  • Added --ip_host and $public_ip_host which allow you to change the website we ping for the public IP.

[1] Public IP requires an internet connection as we ping a website.

Packages:

  • Check for packages based on which package manager is installed instead of using a hardcoded list of distros.

Theme:

  • Added support for getting DE theme.
  • Added support for getting KDE theme.
  • Renamed getgtk to getstyle.
  • Dropped the gtk from these printinfo functions gtktheme, gtkicons and gtkfont. Theme output will be blank until you make these changes:
# Old Naming
info "GTK Theme" gtktheme
info "Icons" gtkicons
info "Font" gtkfont

# New Naming
info "Theme" theme
info "Icons" icons
info "Font" font

GPU:

  • gpu_shorthand is now enabled by default.
  • We now favor showing the dedicated GPU over the integrated one.

Song:

  • Added support for MOC.
  • We now check to see if the player is running before printing anything.
  • We now check playback state and show it if relevent.

Uptime:

  • [Linux] Fixed uptime when it's under 1 minute.

Ascii Art

  • --ascii_distro now also enables ascii mode.
  • Fix missing ascii art when fetch is installed in /usr/local
  • Update Deepin's ascii art to their new logo

1.1 - 2016-02-06

Fetch 1.1 changelog

Over the past 10~ days over 190 more commits have been pushed to master and the script has had some big changes. Thanks to everyone who has contributed, you've been a big help.

screenfetch mode New screenfetch mode

  • If w3m or imagemagick aren't installed we gracefully fallback to ascii mode.
  • Automatically find the w3m-img path and fallback to ascii mode if not found. [1]
  • Fix padding escape codes on BSD systems.
  • Swap escape codes from \e to \033 for consistency.
  • We only move the cursor to the bottom of the terminal in w3m/iterm2 rendering modes.
  • Cursor position is now dynamic in ascii mode based on the height of the ascii and info text.
  • If images and ascii are off, don't clear the terminal
  • The script now exits correctly instead of always exiting with status code 1
  • If the script exits for any reason, unhide the cursor.
  • Removed duplicate blocks inside getcpu and getmemory.
  • Removed --colors as it was apparently broken from day 1.
  • Usage has been reformatted so that every flag has a value.

[1] Setting $w3m_img_path will make the script look there first.

Image

  • Added support for displaying ascii art inside of text files.
  • Added "screenfetch mode" which will display your distro's ascii art next to the info. [1]
  • Added --ascii_distro to choose which distro's ascii logo to display.
  • Added --ascii_colors and $ascii_colors which allow you to change the colors of the ascii art and distro logos. [2]
  • Added --size and $image_size to set the image size in pixels.
  • Rename --shuffledir and $shuffledir to shuffle_dir.
  • Rename --imgtempdir and $imgtempdir to thumbnail_dir
  • Removed --split_size and $split_size as they were weird and confusing to use.
  • Default thumbnail directory is now $HOME/.cache/thumbnails/fetch. Thanks @tudurom
  • If --image and --ascii are left empty we fallback to ascii distro mode.

Example usage of ascii from file:

fetch --ascii "path/to/ascii" --ascii_color 2

[1] How do I enable screenfetch mode? [2] ascii_colors takes a range of colors which allows you to color every aspect of distro and OS ascii art. For custom art the script will color the entirety of it using the first value of ascii_colors. If ascii_colors is left empty, color will be disabled.

Config file

  • Fetch now has a config file that you can share with people and keep between script versions! [1]
  • Added --config and $config_file to specify a custom config location.
  • Added --config off, --config none and $config to enable / disable config files at launch or in script.

[1] https://github.com/dylanaraps/fetch#using-the-config-file

Makefile

  • Fetch now has a make file due to the increasing number of files, this allows the script to be easily installed and uninstalled on systems it isn't packaged for yet! [1]

[1] The script will still work just fine on its own, you'll just be missing the distro ascii art and the automatic config creation.

Packages

  • Fetch now has a Gentoo/Funtoo e-build courtesy of @z1lt0id

Stdout

  • Added stdout mode which allows you to fetch info in a plain text format that works with lemonbar and in your scripts. You can use it by launching fetch with --stdout to print all functions enabled in your printinfo function. You can selectively print functions by passing arguments to --stdout like so:
# Print the output of all info functions enabled in printinfo
fetch --stdout

# Print the output of memory
fetch --stdout memory

# Print the output of memory and disk
fetch --stdout disk

# Print the output of all functions excluding x
fetch --stdout --disable kernel packages gtktheme

  • Added --stdout_separator and $stdout_separator which takes a string and adds it as a separator between the output.
  • Added --stdout_title and $stdout_title which allow you to toggle the title@hostname from appearing in the output.
  • Added --stdout_subtitles which allow you to toggle the Info: titles from appearing in the output.
# Hiding subtitles
fetch --stdout --stdout_subtitles off

# Custom separator
fetch --stdout disk gpu --stdout_separator "  |  "

NOTE: stdout_subtitles and stdout_title only work when --stdout is used on its own without any args.

Info

  • You can now display info without a subtitle. eg. info memory
  • Added --disable which allows you to stop an info line from appearing at launch.
  • Added --underline and $underline which allow you to toggle visibility of the underline at launch and in your config.
# Stop cpu, gpu, disk and shell functions from being called
fetch --disable cpu gpu disk shell

Kernel: Added --kernel_shorthand and $kernel_shorthand to print less or more kernel info Window Manager: Added support for $XINITRC GTK: Fix incorrect GTK3 theme being displayed CPU: cpu_shorthand: New substitutions GPU: [Linux] Count the number of identical GPUs. eg. Nvidia Geforce GTX 970 x 2 Memory: [Mac OS X] Added wired memory to memory usage.

Distro:

  • Added support for showing OS architecture. eg Arch Linux x86_64, Windows 7 Ultimate 64-bit [1]
  • Mac OS X: Added support for showing Max OS X build version. [2]
  • Windows: Distro now displays Windows edition. eg. Windows 7 Ultimate

[1] You can toggle this using --os_arch and $os_arch. [2] You can toggle it using --osx_buildversion and $osx_buildversion.

Shell:

  • Added --shell_version and $shell_version to hide/show your shell's version.
  • Added --shell_path and $shell_path to hide/show the path to your shell

Birthday:

  • Added birthday which prints the age of your OS install.
  • Added --birthday_shorthand and $birthday_shorthand to shorten/lengthen the output of birthday.
  • Added --birthday_time and $birthday_time to show/hide the time in the output.

Battery:

  • Added battery which prints the battery usage percentage for each battery in your system.
  • Linux: Added battery_num which allows you to choose which battery to display, it also takes the value all which will print all batteries line by line.
  • Linux: Added battery_shorthand which when set to on prints each battery on the same line like so:
# battery_shorthand="on"
Battery: 10%, 5%, 67%

# battery_shorthand="off"
Battery0: 10%
Battery1: 5%
Battery2: 67%

# If there's only a single battery in the system
# we ommit the numbered title.
Battery: 10%
  • NOTE: This currently doesn't support BSD systems as we have no one to help us test

1.0 - 2016-01-27

Fetch 1.0

There have been over 260 commits to master since I last made a release and the script is at a point now where I can say that it's feature complete so I'm releasing 1.0. The script now supports many more OS/distros and has had lots of bug fixes, changes and features added.

I'm probably missing a bunch of stuff from this changelog so if i've forgotten anything, let me know!

I'm also slowly adding pages to the wiki so check it out!

Here's what's new:

  • Added full support for Windows, BSD and Mac OS X.
  • Fetch is now MIT licensed
  • Dropped the .sh from the filename and title.
  • Dropped support for mksh so we can support some bash only features.
  • Cleanup of everything
  • Added --prompt_height and $prompt_height to fix the script going<br > offscreen due to multi-line shell prompts. This option should be set to<br > your prompt height in lines.
  • The script now supports bash 4.0. It turns out that we only<br > supported bash 4.3
  • Restore cursor and clear screen on ctrl+c.
  • Swap tput cmds for ansi escape sequences where possible.
  • Added folds to make the script easier to navigate in *vim.
  • Added -F to grep where possible for a speedup where possible.
  • Fix whitespace issues with different distros.
  • Remove uneeded $ symbols.
  • Remove double negative tests.
  • Added note about needing procps or procps-ng for uptime support.
  • Fix syntax errors in script and readme.
  • All vars now use on/off instead of 1/0.
  • Quote things that should be quoted.

Linux:

  • Fix issues with Elementary OS and CentOS.

Mac OS X:

  • Added support for other package managers.
  • Fix issue with multiple resolutions in getresolution

Windows:

  • Added getvisualstyle function to get the current Windows theme.
  • Added choclatey support to package count.

BSD:

  • Fix tput commands not working on BSD

Info:

As of commit 9daacdd the info array at the top of the script has changed to a regular function. The benefits of this are pretty cool, you can now use any bash syntax to customize what gets displayed. You could have an if statment and only print window manager and gtk themes if X is running or only show current song if there's one playing.

You can see some examples and read more about it here:

https://github.com/dylanaraps/fetch/wiki/Customizing-Info


All:

  • All functions return Unknown or None instead of printing nothing.<br >

Title:

  • You can now color the @ symbol in the title using --at_color,<br > $at_color and --colors x x x x x x.

OS:

  • We now check lsb_release before looking inside of files, this fixes<br > detection for some *buntu based distros.
  • We now exit if the OS type wasn't detected.

Window Manager:

  • wmctrl is now used by default if found.

Uptime:

  • Added --uptime_shorthand and $uptime_shorthand to make the output<br > of uptime smaller and prettier.
  • Added new --uptime_shorthand and $uptime_shorthand value<br > called tiny. This makes the output even tinier. eg. 1d 10h 32m

GTK:

  • Added functions to get GTK Theme, Icons and Font
  • Added --gtk{2,3} and $gtk{2,3} to enable/disable gtk2 or gtk3 from<br > being displayed.
  • Added --gtk_shorthand and $gtk_shorthand to make the output of<br > gtk* smaller and prettier.

Packages:

  • Remove package version and color from Pacman output
  • All distros are now wildcarded so that version numbers from<br > lsb_release are ignored.

CPU:

  • Added more cpu speed types to --speed_type and $speed_type.
  • Use cpufreq when available instead of hardcoding it for specific distros.

GPU:

See issue #21

  • Added function to get the current Graphics Card.
  • Added support for VirtualBox GPU.
  • Added --gpu_shorthand and $gpu_shorthand to make the output of gpu<br > smaller and prettier.

Disk:

See issue #27

  • Added function to get current/total disk usage.

Song:

  • Added cmus support.

Images:

  • Added support for iTerm2's image rendering.
  • Added --image_backend and $image_backend to change which program<br > is used to render the images.
  • The image is now displayed before the text, this fixes image<br > rendering issues with vte based terminal emulators.
  • Added $w3m_img_path to set the location of w3mimgdisplay.
  • Unified all image options, the new var $image takes these<br > values: wall, shuffle, path/to/img.png, off.
  • Added shuffle to image modes. The script can now pick a random<br > image from a specified folder to display. You can pick the shuffle<br > directory with --shuffle_dir and $shuffle_dir
  • Fixed images getting cut off at the top.
  • Added image size to filename which allowed us to remove a really<br > slow check.

Wallpaper:

  • Added nitrogen and gsettings support.
  • Added wallpaper support to Mac OS X and Windows.
  • Fix hang when wallpaper isn't found.
  • We now check to see that feh set the wallpaper.
  • Fixed wallpapers with spaces in the filename.
  • wall is now the default image source.

Screenshot:

The script can now take a screenshot on script finish. You can use the flags --scrot or -s to take a screenshot.

--scrot and -s can also take a path/filename so you can choose where and what to name the file at launch.

If left empty --scrot and -s will use $scrot_dir and $scrot_name when saving the screenshot.

By default the script uses scrot as the screenshot program. You can use the launch flag --scrot_cmd or the option $srot_cmd to set the program to use to take the screenshot.

Wiki:

Added Customizing Info page which has info/examples about the new printinfo function.

https://github.com/dylanaraps/fetch/wiki/Customizing-Info

Added Customization which lists all options and their values.

https://github.com/dylanaraps/fetch/wiki/Customization

0.2.1 - 2016-01-04

Here's what's new:

  • Mac OS X support (It's done now)
  • Resolution Detection (Off by default)
  • Song info is now off by default.
  • You can now display the image on the right with:
    • --image_position left/right
  • Fixed bug with multiple colons
  • Fixed underlines not being drawn the full width.
  • Functions now fallback to "Unknown" instead of printing nothing.
  • getos now gets os type and getdistro gets the distro.
    • This makes it even easier to add other os types.

Here's what I'm working on:

  • Finishing OpenBSD support
  • Cygwin support

Enjoy

0.2 - 2016-01-03

I finished my rewrite!

Here's what's new:

  • The script is now way faster.
  • You can now pick what gets displayed and where using an array at the top of the script. This also allows you to:
    • underline anything
    • print custom info
    • print a custom title
    • add linebreaks
  • Mac OS X support and a base that allows us to add other OS later.
  • You can now specify split size.
  • Fixed issue with 2 line prompts
  • Fixed image not displaying in vte based terminals
  • Move all config options to the top of the script
  • Moved almost everything to a function.
  • Removed wmctrl dependency
  • Made variable names more consistent
  • Added shell substitution for cpu output. This means that the cpu output won't include: (tm) (r) "Processor" "CPU"
  • Optimized all get* functions
  • Use variable substitution where possible as it's faster than sed/awk
  • Moved crop and smart_crop to crop_mode
  • Removed --size and --padding in favor of --split_size

Here's what I'm currently working on:

  • Window support (I'm almost done)
  • Option to swap the image and text around
  • Imagemagick optimizations
  • Cleanup of info array handling
  • More info outputs. Now that it's easy to customize what's printed and everything is a function we can add optional support for pretty much anything.
    • Resolution
    • GTK themes
    • Terminal Font
    • GPU
    • IP
    • etc

Issues:

  • Uptime doesn't work in OS X yet.
  • If the customizable info includes a third colon then it breaks.

I'd love to hear your thoughts.

0.1 - 2015-12-31

Changelog:

  • Added flag to disable bold text --nobold
  • Added flag to disable text wrapping --nowrap
  • Moved to using only printf instead of a mix of echo/printf
  • The script now aligns the cursor to the bottom of the terminal instead of using a hardcoded amount of newlines
  • Image size and padding is now dynamic, the only difference on the user side is that instead of setting a long line of spaces as padding, you set your font width. This means that you set the var once and the script will just work at any window size.
  • You can disable dynamic images and go back to the old behaviour with by using the --size or the in config var. $img_auto
  • Manual padding now takes a count, so --padding 10 will pad the text 10 spaces.
  • tput is now a dependency because we need (tput cols/lines/cup) for the dynamic images and it allows us to support more terminals.
  • Color block width can now be changed with the flag --blockwidth. It takes a count like --padding so --blockwidth 10 will make the color blocks 10 spaces wide.

Let me know if you're having issues.