Skip to content

TRGameLore/Neofetch-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Neofetch Windows - Updated

Simple neofetch clone for Windows 10+ written in C++. The executable is 684KB. This modified version of nepnep39's neofetch-win is made to detect all drives within your PC. If you add an external drive, it will add it to the Disk list. Doing so while not affecting the art logo or the color lines' placement.

You can also change the name of the username that shows up, "username@userhostname". I added directions in the C++ source file to know how to do so. Personally, I want to change what it shows so when I show people my setup, I don't dox my real name. I assume there are others who want that as well.

Install

Now, I am not a genius when it comes to all of this. So if you have a better way of installing this, please do so. This is just how I managed to figure it out. I'm not much of a coder or anything, but I figured people would want this customized part of neofetch-win.

Install the normal neofetch.

  • winget install neofetch

Easy Install (No Customizing username)

Download the .exe file. Replace the regular neofetch .exe app with the customized one.

Harder Install (Can Customize username)

After you install the regular neofetch, you can get the source code files from the zip file, create the app, and replace the location of the regular neofetch that you just installed with the new app you made.

You will need Visual Studio in order to create the .exe app yourself. It takes a while to download, so you may want to do it now before you start.

  • Step 1: Download the zip file
  • Step 2: After downloading, change the username and hostname if you would like. If not, skip this step.
    • Find this path from the downloaded files. \neofetch-win-custom\src\core\neofetch
    • Open this file in Visual Studio Code, head to lines 20 and 21.
      • Replace 'wstring_to_string(getusername())' with "Custom_Name" if you do not want your user name to show.
      • Replace 'wstring_to_string(gethostname())' with "Custom_Name" if you do not want your desktop name to show.
    • Head to line 74 and replace 'getusername()' and 'getuserhostname()' with L"Custom_Name" replacing "Custom_Name" with whatever name you like.
  • Step 3: Head back to \neofetch-win-custom and open the neofetch-win.sln file with Visual Studio.
    • Look for "Debug" in the top bar. The top bar is NOT the bar that says "File, Edit, etc." Change "Debug" to "Release"
    • Then click "Build" in the tabs above the top bar, and click "Build Solution", or use Ctrl + Shift + B
  • Step 4: Head back to \neofetch-win-custom after you have made the app.
    • Find the path \neofetch-win-custom\x64\Release\neofetch-win
    • Copy the .exe app, find your regular neofetch download. Should be somewhere around C:\program files\neofetch-win
    • Paste your new .exe app in this folder, and delete the regular neofetch .exe app

Then just run neofetch and it should be all good!

About

Customized version of nepnep39's neofetch-win. Changed to be able to recognize all drives connected to the computer.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors