Skip to content
 
 

Repository files navigation

Windows screenFetch

License Language Require OS Require Shell Repo Size

Windows screenFetch screenFetch in Windows Terminal with Dracula theme.

ScreenFetch

screenFetch was originally made as a "Bash Screenshot Information Tool". Simply, it lets you display detailed information about your system in the terminal, it also comes with a ASCII logo for the detected Linux distribution.

This doesn't work on Windows natively and this project is my attempt to provide a solution that does not require obtaining a linux environment on windows.

The original can be found in KittyKatt's repository.

How is it different

The original screenfetch requires a system that supports bash so it cannot be used on windows natively! This is a small scale project that simply "mimics" the behaviour of screenFetch in windows.

Windows screenFetch is a PowerShell script, not a Bash program. Therefore, a linux-like environment such as Cygwin or MinGW is not required. This can be run natively on windows as a PowerShell script within a PowerShell or command prompt console.

Since this tool is only intended to run within a windows environment, no flags to invoke any Linux distribution ASCII art is supported.

Installation

# Add scoop bucket
scoop bucket add Scoop4kariiin https://github.com/AkariiinMKII/Scoop4kariiin

# Install
scoop install Scoop4kariiin/Windows-screenFetch
  • Via git clone

Notice that you need to install git for windows in advance.

# Go to modules folder
$UsePath = (Split-Path $PROFILE | Join-Path -ChildPath Modules); if(!(Test-Path $UsePath)) {New-Item $UsePath -Type Directory -Force | Out-Null}; Set-Location $UsePath

# Clone this repository
git clone https://github.com/AkariiinMKII/Windows-screenFetch

# Modify PS profile to enable auto-import
if (!(Test-Path $PROFILE)) {New-Item $PROFILE -Type File -Force | Out-Null}
Add-Content -Path $PROFILE -Value "Import-Module Windows-screenFetch"

Functions

screenFetch

Print system information with distribution logo.

Parameters Type Mandatory Descriptions
Distro String Specify the ASCII logo shown in left side.[1]
Help Switch Print help info.
Version Switch Print version info.

[1] Currently support the logo of Windows and macOS, please see AsciiArtGenerator for possible extensions.

  • For Windows 10 logo, use win10, windows10.
  • For Windows 11 logo, use win11, windows11.
  • For Windows XP logo, use winxp, windowsxp, xp.
  • For macOS logo, use mac, macos, osx, apple.

Windows 11 logo Windows XP logo macOS logo

Known issues

  • Cannot detect attached monitors. (#8)
  • "Get-CimInstance : Not supported" error. (#7)
  • Cannot get native resolution in Display area. (#3) Fixed 🥳

Contributing

Feel free to open PRs!🥳

About

A Powershell port of bash/unix screenfetch.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages