Neofetch 1.9
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 tomacOS
. @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
- Added support for Android.
- 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.
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 #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.
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
andosx_codename
in favour ofdistro_shorthand
. @konimex
Desktop Environment<br >
- [Windows] Added support for showing DE.
- Windows 8 and above:
Modern UI/Metro
- Windows 7 and below:
Aero
- Windows 8 and above:
Window Manager<br >
- [Windows] Added support for custom WMs/Shells.
- Neofetch now detects
blackbox
,bugn
,Windawesome
,emerge
andlitestep
.
- Neofetch now detects
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
andphysical
.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 toon
.
- Added new option called
- [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!
- Every OS/Distro now has the pretty
- Remove
up
from output.
Resolution<br >
Memory<br >
- [Linux] Correctly calculate used memory.
- The output should now match
conky
,htop
and etc. - Source: KittyKatt/screenFetch#386 (comment)
- The output should now match
- [NetBSD] Fix memory output for sizes over 4GB. @coypoop
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 fromtty
- Fixed
block_width
being off by one. A value of2
made the blocks3
wide instead of2
wide.
Terminal and Terminal Font<br >
- [Linux] Use
/proc/$PPID/comm
instead of parsingps
. - 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.