Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added color blocks and Debian logo, fixed memory reporting issue. #6

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

Conversation

Code-Dreams
Copy link

I added basic color blocks to the bottom of the system stats, similar to other fetch programs. I'm not sure yet how Neofetch and similar utilities get the different shades, but once I figure that out, I'll try to put those in.

I also added a preliminary Debian logo, more as a test than anything. I'm still trying to get the scaling optimal, but for now, it displays correctly. I haven't integrated it into the OS detection code yet.

I also noticed that on my Linux system, the memory was not reporting correctly. The data was being grabbed from the wrong line in the /proc/meminfo for the active memory usage calculation. I fixed it so now it shows the current amount of memory used.

I am a very junior Python developer, so hopefully my code isn't too terrible. Please let me know if there are better ways to do any of this, and of course feel free to correct anything I've done!

Thanks!

…e with current memory use reporting incorrectly.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add pycache to your .gitignore

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deleted the pycache directory and added pycache to my .gitignore file. I'll update my pull request.

@Titaniumtown
Copy link
Owner

I'll test this later, but the code looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants