🖼️ A command-line system information tool written in bash 3.2+
MIT License
Bot releases are hidden (Show)
Published by dylanaraps about 8 years ago
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. :)
--version
to print the neofetch version.7
.barinfo
is set.line_wrap
as having it set to on
broke the output.stdout
mode since it's been broken for a while now and I don't see the<br>! -z
since they're pointless.bc
usage by simplifying math.getconfig
and getscriptdir
errors.xprop
errors since it's now an optional dependency.main
.read -s
instead of stty -echo
and stty +echo
.$(())
syntax for index variables.-v
now shows where the config files were sourced from.clear && neofetch
to neofetch
.Terminal and Terminal Font<br >
term
function to display current terminal emulator. [1]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 >
model
a new function which displays your device's product vendor/name.Distro<br >
distro_shorthand
@konimex
Title<br >
$HOME
.Color Blocks<br >
--block_height
/ $block_height
to change the number of lines high each<br >Resolution<br >
0
. @iandrewt
xrandr
output on systems not using gawk.Shell<br >
fish
shell version. @maddcoder
Song<br >
tag artistsort
from showing up in song title. @williamkray
CPU<br >
CPU Usage<br >
tycat
. @aranega [1]--crop_mode none
/ crop_mode=none
to disable cropping the images.--size none
/ size=none
to disable resizing / cropping the images.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.
/
at the end. @aranega
ascii_bold
which allows you to bold the ascii art.--ascii_distro mac
as a shorter way of using the OS X ascii.$ascii_distro
config option.Ubuntu-GNOME
ascii art. @hashhar
--ascii path/to/ascii_file
) now follow the same format as the<br>Published by dylanaraps over 8 years ago
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
Thanks to the following people for contributing this release.
bold
option not working.Neofetch now supports displaying error messages and saving a verbose log for
troubleshooting.
-v
to print error messages to stdout.-vv
to print a verbose log to stdout. [1][1] Use neofetch -vv 2> file
to save a verbose log for bug reporting.
prin
prin
use the same args as info
.# OLD Format
prin "Subtitle: Text goes here"
# NEW Format
prin "Subtitle" "Text goes here"
Title
$HOSTNAME
when available.Underline
--underline on/off
not working.$underline
was renamed to $underline_enabled
.# OLD Variable
underline="on"
# NEW Variable
underline_enabled="on"
Distro
uname -m
to get the arch instead of hardcoding x86
.getdistro
.ascii_distro
not working.CPU
Dual-Core
or Quad-Core
in CPU output.GPU
glxinfo
.Memory
memavail
if available for a more accurate output.Packages
dpkg
and pacman
installed the function willdpkg pkgs
+ pacman pkgs
)Uptime
Desktop Environment
xprop
if $XDG_CURRENT_DESKTOP
is empty.$de
instead of $XDG_CURRENT_DESKTOP
for wallpaper and theme detection.Window Manager Theme
$de
was unset.Color Blocks
--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.
[=====-----]
instead of ━━━━━━━━━━
progress_border
.# $progress_border on
[=====-----]
# $progress_border off
=====-----
progress_char_elapsed
and progress_char_total
. This means that you can# Examples with $progress_border on
# Elapsed: =
# Total: -
[=====-----]
# Elapsed: .
# Total: " "
[..... ]
# Elapsed: /
# Total: " "
[///// ]
Published by dylanaraps over 8 years ago
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
Thanks to the following people for contributing this release.
--test
which is meant for testing and prints all functions.stty
instead of read -s
to fix an issue with escape sequences<br >LC_ALL
is unset on the user's system.$HOME/.config
to $XDG_CONFIG_HOME
with a fallback to $HOME/.config
.[1] You can clear the cache with --clean
.
<br >
Unknown
when they fail, they now don't appear at all.Window Manager Theme<br >
WM Theme
function to print window manager themes.OS<br >
CPU<br >
/proc/cpuinfo
.GPU<br >
Nvidia
is now displayed as NVIDIA
. @firstEncounter
Intel Integrated Graphics
. to avoid naming issues.Battery<br >
Resolution<br >
xorg-xrandr
.xorg-xrandr
.screenresolution
to print the output.<br >Packages<br >
Public IP<br >
dig
if available. @iandrewt
Theme<br >
$GTK2_RC_FILES
if the envar is set. @onespaceman
Desktop Environment<br >
Song<br >
Not Playing
instead of Unknown
when no music player is found.gpmdp-bash
) @iandrewt
Disk<br >
perc
to display just the percentage with the progress bar.Memory<br >
Uptime<br >
up
in output.Birthday<br >
+
sign in output.shuffledir
in favor of '--image path/to/dir/'printf
instead of shuf
to pick a random image.image_backend
and instead use iterm2 mode only when iterm2 is detected.wc
usage.Published by dylanaraps over 8 years ago
Thanks to the following people for helping me to improve neofetch.
echo
usage inside the script.Fedora
and Fedora
based distros. @konimex.This has finally been merged to master, a big thanks to @iandrewt for helping
me finish up with this PR.
progress_char
which allows you to change the character used when drawing the bars.progress_length
which allows you to set the max length in spaces of the bars.progress_elapsed_color
which sets the elapsed color.progress_total_color
which sets the total color.--progress_colors
which takes two color values: elapsed
, total
.cpu_display
, memory_display
, disk_display
and battery_display
which allow you<br >info
, bar
, infobar
, barinfo
SteamOS
.xoffset
now also moves the text over.2
.Kubuntu
, Lubuntu
, Xubuntu
and ubuntu-gnome
.
--ascii_distro kubuntu
, --ascii_distro lubuntu
and etc.OS<br >
osx_codename
(on by default) which prints the OSX codename. @iandrewt
Disk Usage<br >
Theme<br >
/usr/share
as another theme directory to fix an issue with no theme being found. @iandrewt
CPU<br >
cpu_shorthand
to shorten the output of CPU. @iandrewt
name
, speed
, tiny
, on
, off
cpu_display="info"
or --cpu_display off/on info
.cpu_cores
to enable/disable showing the number of CPU cores in the output. @iandrewt
GPU<br >
tiny
option to gpu_shorthand
to further shorten the GPU output. @iandrewt
Memory<br >
Desktop Environment<br >
i3
would show up as both a DE and a WM.Birthday<br >
Song<br >
song_shorthand
and songs with more than one occurence of -
.Battery<br >
prin
.Published by dylanaraps over 8 years ago
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!
fetch
to neofetch
. Thanks for voting.Alpine Linux
.color
function.Battery<br >
Song<br >
Birthday<br >
--birthday_format
and $birthday_format
to change the date format of the<br >date
cmd's format options so see man date
<br >Packages<br >
GPU<br >
Example:
neofetch --birthday_format "%D"
neofetch --birthday_format "%a %d %b %Y %l:%M %p"
neofetch --birthday_format "%c"
Theme<br >
ascii_logo_size
that takes the values normal
and small
.[1] The small ascii art was taken from ufetch.
Example of small ascii logo:
--stdout
.--stdout_separator
and $stdout_separator
which allow you to change<br >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 " | "
Published by dylanaraps over 8 years ago
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:
$*_color
variables/flags in favour of a general $colors
--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
crux
port. Thanks @ix.BunsenLabs
.SailfishOS
. (Untested)Window Manager
Song
song_shorthand
which prints the Artist/Title on seperate lines.Theme
getstyle
.gsetttings
related crash.Resolution
Battery
GPU
Printing to stdout in a plaintext format for use in scripts is now
much faster and cleaner.
--stdout_separator
(Separator is now 2 spaces)--stdout_subtitles
--stdout_title
Published by dylanaraps over 8 years ago
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
en_US.UTF8
installed.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
$PREFIX
is now also used when installing ascii art and the default configMATE
desktop's wallpapers.Desktop Environment:
Window Manager:
xprop
is now a required dependency. See #79.IP Address:
--ip_host
and $public_ip_host
which allow you to change the website we[1] Public IP requires an internet connection as we ping a website.
Packages:
Theme:
getgtk
to getstyle
.gtk
from these printinfo functions gtktheme
, gtkicons
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.Song:
MOC
.Uptime:
--ascii_distro
now also enables ascii mode.Published by dylanaraps over 8 years ago
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.
New screenfetch mode
w3m
or imagemagick
aren't installed we gracefully fallback to ascii mode.w3m-img
path and fallback to ascii mode if not found. [1]\e
to \033
for consistency.1
getcpu
and getmemory
.--colors
as it was apparently broken from day 1.[1] Setting $w3m_img_path
will make the script look there first.
--ascii_distro
to choose which distro's ascii logo to display.--ascii_colors
and $ascii_colors
which allow you to change the colors of the ascii art--size
and $image_size
to set the image size in pixels.--shuffledir
and $shuffledir
to shuffle_dir
.--imgtempdir
and $imgtempdir
to thumbnail_dir
--split_size
and $split_size
as they were weird and confusing to use.$HOME/.cache/thumbnails/fetch
. Thanks @tudurom--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
and $config_file
to specify a custom config location.--config off
, --config none
and $config
to enable / disable config files[1] https://github.com/dylanaraps/fetch#using-the-config-file
[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.
stdout
mode which allows you to fetch info in a plain text format that works--stdout
to print allprintinfo
function. You can selectively print functions by passing--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
--stdout_separator
and $stdout_separator
which takes a string and adds it--stdout_title
and $stdout_title
which allow you to toggle the title@hostname
--stdout_subtitles
which allow you to toggle the Info:
titles from appearing in# 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 memory
--disable
which allows you to stop an info line from appearing at launch.--underline
and $underline
which allow you to toggle visibility of the# 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:
Arch Linux x86_64
, Windows 7 Ultimate 64-bit
[1]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:
--shell_version
and $shell_version
to hide/show your shell's version.--shell_path
and $shell_path
to hide/show the path to your shellBirthday:
birthday
which prints the age of your OS install.--birthday_shorthand
and $birthday_shorthand
to shorten/lengthen--birthday_time
and $birthday_time
to show/hide the time in the output.Battery:
battery
which prints the battery usage percentage for each batterybattery_num
which allows you to choose which battery to display,all
which will print all batteries line by line.battery_shorthand
which when set to on
prints each battery on the# 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%
Published by dylanaraps over 8 years ago
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!
.sh
from the filename and title.mksh
so we can support some bash
only features.--prompt_height
and $prompt_height
to fix the script going<br >tput
cmds for ansi escape sequences
where possible.-F
to grep where possible for a speedup where possible.$
symbols.procps
or procps-ng
for uptime support.on/off
instead of 1/0
.Linux:
Elementary OS
and CentOS
.Mac OS X:
getresolution
Windows:
getvisualstyle
function to get the current Windows theme.choclatey
support to package count.BSD:
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:
Unknown
or None
instead of printing nothing.<br >
Title:
@
symbol in the title using --at_color
,<br >$at_color
and --colors x x x x x x
.OS:
lsb_release
before looking inside of files, this fixes<br >Window Manager:
wmctrl
is now used by default if found.Uptime:
--uptime_shorthand
and $uptime_shorthand
to make the output<br >uptime
smaller and prettier.--uptime_shorthand
and $uptime_shorthand
value<br >tiny
. This makes the output even tinier. eg. 1d 10h 32m
GTK:
--gtk{2,3}
and $gtk{2,3}
to enable/disable gtk2 or gtk3 from<br >--gtk_shorthand
and $gtk_shorthand
to make the output of<br >gtk*
smaller and prettier.Packages:
Pacman
outputlsb_release
are ignored.CPU:
--speed_type
and $speed_type
.cpufreq
when available instead of hardcoding it for specific distros.GPU:
See issue #21
--gpu_shorthand
and $gpu_shorthand
to make the output of gpu
<br >Disk:
See issue #27
Song:
cmus
support.--image_backend
and $image_backend
to change which program<br >$w3m_img_path
to set the location of w3mimgdisplay
.$image
takes these<br >wall
, shuffle
, path/to/img.png
, off
.shuffle
to image modes. The script can now pick a random<br >--shuffle_dir
and $shuffle_dir
Wallpaper:
nitrogen
and gsettings
support.Mac OS X
and Windows
.feh
set the wallpaper.wall
is now the default image source.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.
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.
Here's what's new:
--image_position left/right
getos
now gets os type and getdistro
gets the distro.
Here's what I'm working on:
Enjoy
Published by dylanaraps almost 9 years ago
I finished my rewrite!
I'd love to hear your thoughts.
Published by dylanaraps almost 9 years ago
Changelog:
--nobold
--nowrap
--size
or the in config var.--padding 10
will pad--blockwidth
.--padding
so --blockwidth 10
will makeLet me know if you're having issues.