🛠A command-line system information utility written in PowerShell. Like Neofetch, but for Windows.
Full Changelog: https://github.com/lptstr/winfetch/compare/v2.5.0...v2.5.1
Full Changelog: https://github.com/lptstr/winfetch/compare/v2.4.1...2.5.0
Full Changelog: https://github.com/kiedtl/winfetch/compare/v2.4.0...v2.4.1
The config file format before v2.0.0 is no longer compatible with Winfetch. It is recommended to use the new configuration file format (a .ps1 file) which was released in version 2.0.0.
International
module in all versions of PowerShell Core (https://github.com/kiedtl/winfetch/commit/d14361e3d2f2e29e7a7f4f30e0dcd33bfbe135b4)Resolve-Path
while defining image bitmap - Fixes https://github.com/kiedtl/winfetch/issues/105 (https://github.com/kiedtl/winfetch/commit/c3c9105fd0ced7d325424281ab881a5e8926f531)Full Changelog: https://github.com/kiedtl/winfetch/compare/v2.3.0...v2.4.0
The scoop manifest was moved from the extras
bucket to the main
bucket, in order to receive this and future updates you'll need to reinstall it.
scoop uninstall winfetch
scoop install winfetch
made with: wordpad
badge to README by @kiedtl in https://github.com/kiedtl/winfetch/pull/107
Full Changelog: https://github.com/kiedtl/winfetch/compare/v2.2.0...v2.3.0
In this release, the winfetch repository was moved from lptstr/winfetch
to kiedtl/winfetch
see #81 for more information. There were also several improvements to the backend and @rashil2000 removed our dependency on ImageMagick by performing image processing using PowerShell which should be much faster and more reliable.
weather
(#71)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.
-noimage
-showpkgs <enabled pkgs>
-showdisks *
-switchlogo
to use the alternate logo-all
parameter to show all built-in info segments (regardless of your config)-stripansi
parameter to disable colors/fancy formatting similar to --stdout
in neofetch-configpath
parameter and WINFETCH_CONFIG_PATH
environment variable to override the default location of the configwinfetch -cpustyle bar -diskstyle textbar
kernel
resolution
motherboard
battery
local_ip
public_ip
cpu_usage
locale
theme
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.
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.
Various fixes and improvements.
OS
field now shows more specific information.Memory
field's style was changed to used / total
. The information is rounded to one decimal space.Disk
field now shows the percentage of used space in parens (instead of the disk label).Winfetch is now cleaner, faster, and smaller.
[+]
Add support for PowerShell 5 (@TheIncorrigible1)[!]
Rewrite internals, Winfetch is now faster[+]
Make Winfetch output redirectable[+]
Add contributing guide[!]
Add support for new configuration style (@TheIncorrigible1)[!]
Cleaned logic and added consistent style (@TheIncorrigible1)[!]
Dependencies curl
and PowerShell 6 no longer neededThanks to (@TheIncorrigible1), support for PowerShell 5 was added and #3 was closed. You can now run Winfetch on older machines without PowerShell 6.
Again, thanks to (@TheIncorrigible1), major parts of Winfetch were rewritten, making v1.2.0 slightly faster (see benchmarks).
Also, the part of Winfetch that displays information was rewritten from scratch, and is now about 30 lines shorter.
You can now redirect Winfetch output to a file, like so:
$ winfetch >> file
... and view the file in the terminal with cat
:
$ cat file
Color, style, images, etc. will all be preserved intact in the file and can be viewed without problems.
You can now save Winfetch output in a file and cat
the file when needed instead of re-running Winfetch.
Configuration was rewritten in v1.2.0, and is slightly more intuitive.
You might want to manually delete your configuration file and run winfetch -genconf
to re-generate the configuration.
You can now run man (scoop which winfetch)
to view help.
Alternatively, you can just run the following:
$ winfetch -help
Benchmark #1: ./winfetch-old.ps1
Time (mean ± σ): 3.994 s ± 0.040 s [User: 0.0 ms, System: 13.6 ms]
Range (min … max): 3.950 s … 4.070 s 10 runs
Benchmark #2: ./winfetch-new.ps1
Time (mean ± σ): 3.610 s ± 0.046 s [User: 33.8 ms, System: 85.5 ms]
Range (min … max): 3.561 s … 3.718 s 10 runs
Summary
'./winfetch-new.ps1' ran
1.11 ± 0.02 times faster than './winfetch-old.ps1'
The Winfetch source is also 3KB smaller, as well as almost 150 loc shorter.