🛠A command-line system information utility written in PowerShell. Like Neofetch, but for Windows.
MIT License
Full Changelog: https://github.com/lptstr/winfetch/compare/v2.5.0...v2.5.1
Published by rashil2000 over 1 year ago
Full Changelog: https://github.com/lptstr/winfetch/compare/v2.4.1...2.5.0
Published by rashil2000 over 2 years ago
Full Changelog: https://github.com/kiedtl/winfetch/compare/v2.4.0...v2.4.1
Published by rashil2000 over 2 years ago
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
Published by jcwillox almost 3 years ago
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
Published by jcwillox over 3 years ago
Published by jcwillox over 3 years ago
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)Published by jcwillox over 3 years ago
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.
Published by kiedtl almost 4 years ago
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).Published by kiedtl over 5 years ago
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.
Published by kiedtl over 5 years ago
This release fixes an output-related issue on Cmder/ConEmu, as well as adding a few new information fields and merging the package manager
/packages installed
fields. This version also adds some cool new feaatures, as well as some more minor ones.
[*]
Fixed issue #2: color bar color does not reset in Cmder/ConEmu[+]
Added field for current terminal emulator[+]
Added ability to enable/disable title and dashes in config[!]
Normalized order of information fields (like Neofetch)[+]
Added support for custom ASCII image in the terminal! Yay![+]
Added -noimage
flag to not display any image or logo[+]
Added -help
flag to Winfetch that displays a help message[!]
Merged package managers/packages installed fields into one fieldWinfetch now has the ability to print ASCII images in the terminal! yay!
All you need to do is add the -image
flag when you call Winfetch via the terminal:
$ winfetch -image /path/to/image.png
If you want Winfetch to grap your wallpaper instead of a custom image path, just specify wallpaper
as the image.
$ winfetch -image wallpaper
You can also specify a default image via the configuration by adding the following line to your config file:
$image = "/path/to/image.png"
(Note: this image may be slightly outdated.)
-noimage
flagWinfetch also provided a -noimage
flag, which forces Winfetch to output only information - no images, no ASCII logos, etc.
This option will override the -image
flag.
In v1.0.0, the color bar would not reset the color, leading to one of the lines of the Windows logo having a white background:
This issue only appears in ConEmu and Cmder, however. (See #2)
Now, you can also see which terminal you are using:
Terminal: Alacritty v0.2.9
This feature works by retrieving the parent process of the current PowerShell instance.
In Winfetch, the title/dashes are the first two fields:
user@COMPUTER
-------------
These two can now be enabled/disabled via the configuration with the $show_title
and the $show_dashes
variables.
Instead of appearing as two separate fields like so:
Package Managers: Scoop & Chocolatey
Packages: 128 packages installed
They now appear as only one field:
Packages: 1024 (scoop), 34 (choco)
In this version, the order of the fields has been changed to better reflect the default order of Neofetch info.
Also, a -help
option has been added to Winfetch, which briefly list available options and their uses.
Published by kiedtl over 5 years ago
This release fixes different miscellaneous bugs, as well as adding support for different information fields; most importantly, however, v1.0.0 adds support for a custom WinFetch configuration.
[*]
Fixed issue #1: uptime does not display properly[+]
Add support for custom configuration[+]
Add field for package manager[+]
Add field for packages installed countPreviously, WinFetch would retrieve the number of seconds from the Get-Uptime
cmdlet and manually calculate the number of days, hours, or minutes. This resulted in garbled/incorrect output:
Uptime: 0 day hours 56 minute
This bug is now fixed, and WinFetch now shows correct output:
Uptime: 3 hours 56 minutes
WinFetch now has the ability to detect what package manager you are using (e.g. Scoop or Chocolatey) and how many packages you have installed:
Package Managers: Scoop & Chocolatey
Packages: 97 packages installed
WinFetch now has a custom configuration feature. You can generate a default configuration by running:
./winfetch -genconf
WinFetch will download a default configuration from this repository to $env:XDG_CONFIG_HOME/winfetch
(or ~/.config/winfetch/
).
The default configuration looks like this:
# ===== WINFETCH CONFIGURATION =====
# Add a '#' to any of the lines in
# this file to enable their output.
# $show_os = $false
# $show_computer = $false
# $show_uptime = $false
# $show_cpu = $false
# $show_gpu = $false
# $show_memory = $false
# $show_disk = $false
# $show_pkgs = $false
$show_pwsh = $false
$show_pkgmngr = $false
To disable an information field, just remove the #
from that line:
$show_os = $false # DISABLED
# $show_os = $false # ENABLED!
Published by kiedtl over 5 years ago
Beta release. Download the .zip file, extract and run ./src/winfetch.ps1.
[+]
Add support for disk usage[+]
Add support for PowerShell versionPublished by kiedtl over 5 years ago
Beta release. Download the .zip
file, extract and run ./src/winfetch.ps1
.