v2.0.0
This major release is backwards compatible with older versions, however, the configuration style and internals have changed significantly. Several new info segments have been added, along with the ability to configure the order of info segments and to add custom segments, as well as many other features, improvements and bug fixes. Two new maintainers have also been added, @jcwillox and @rashil2000.
Changelog
Fixed
- Fixed errors when using strict-mode
- Fixed errors when using
-noimage
- Fixed issues with image processing especially for larger images
- Fixed detailed help not showing
New Features
- Improved terminal detection
- Improved scoop pkgs speed
- Disable unused package managers, use
-showpkgs <enabled pkgs>
- Change the order of info segments
- Insert blank info lines
- Hide the colorbar
- Colorbar now shows 16 colors
- Add custom info segments in the config
- Info lines are now written out progressively
- Info segments can now display multiple lines
- Show info for multiple disks, use
-showdisks *
- Added legacy windows logo, use
-switchlogo
to use the alternate logo - Added
-all
parameter to show all built-in info segments (regardless of your config) - Added
-stripansi
parameter to disable colors/fancy formatting similar to--stdout
in neofetch - Added
-configpath
parameter andWINFETCH_CONFIG_PATH
environment variable to override the default location of the config - Command-line parameters will now override those set in the config
- Long lines will now be truncated instead of wrapping to the next line
- Added a basic legacy branch for systems older than Windows 7
- The default config is now embedded within winfetch.ps1 and is generated automatically if your config doesn't exist
- Added percentage bars to cpu, memory, disk and battery, they are configured similar to neofetch, for example, use
winfetch -cpustyle bar -diskstyle textbar
New Info
kernel
resolution
motherboard
battery
local_ip
public_ip
cpu_usage
locale
theme
New Configuration
We have also switched to a much more modular approach for info segments, this simplified the code and made it easier to add new info segments. This change also allows users to add custom info segments in their config. The default config has been updated, see the configuration docs for more information.
If you never used winfetch -genconf
before then you should automatically be switched to the new config, otherwise, you can regenerate a new config with winfetch -genconf
.
Optionally, you can attempt to migrate your old configuration, this commit may help.
Benchmarks
There have been many improvements to speed since v1.2.0
. Comparing v1.2.0
to v2.0.0
with the same segments enabled 1500ms
-> 350ms
which is around a 4x
improvement. More details can be seen on the winfetch vs neofetch benchmarks.