Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

windows support + disk #187

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

jules-party
Copy link

@jules-party jules-party commented Feb 25, 2022

Windows Support

  • Actually "runs natively", so it detects that your running on Windows
  • Has ascii art, it can be changed, I just made it (I'm not good at ascii art)
  • Counts amount of scoop packages installed (If you have scoop installed)
  • Refer to readme on my fork to add it to where you can just type pfetch to run it.

Disk Support

@Un1q32
Copy link

Un1q32 commented Feb 25, 2022

This is super cool. Only thing I would add is support for getting the windows kernel version, as 3.1.7-340.x86_64 is definitely not right. I can confirm that uname -r returns that on my git bash install, but I'm not sure why.

@jules-party
Copy link
Author

This is super cool. Only thing I would add is support for getting the windows kernel version, as 3.1.7-340.x86_64 is definitely not right. I can confirm that uname -r returns that on my git bash install, but I'm not sure why.

Im pretty sure it’s showing up like that for you because your using it on your git bash install, because this was tested using cmd and the screenshot was taken using the command in cmd which returns that kernel version.

@Un1q32
Copy link

Un1q32 commented Apr 24, 2022

neofetch gets the build number for the kernel version on windows. You can do the same with

kernel=$(wmic os get Version)
kernel=${kernel/Version}

$kernel will have the build number

@jules-party
Copy link
Author

neofetch gets the build number for the kernel version on windows. You can do the same with

kernel=$(wmic os get Version)
kernel=${kernel/Version}

$kernel will have the build number

Yeah I somewhat added this, I had to change how it was done though.
It wouldn't load correctly in the example you gave.
I also added better documentation for adding it as a more native ""command"" in both cmd & pwsh

Merge master w/ windows+disk
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants