System Monitor Widget banner

System Monitor Widget

6 devlogs
7h 19m 25s

A lightweight and minimal Python desktop widget that displays real-time CPU, RAM, and GPU usage.

(windows only!)

Demo Repository

Loading README...

Saif

Shipped this project!

Hours: 7.05
Cookies: 🍪 51
Multiplier: 7.21 cookies/hr

This is a system monitor that displays your CPU, GPU, and RAM usage live. I ran into issues with code certification and simply released a .ZIP instead. I’m happy with how it turned out and am currently using it myself.

It’s a simple widget that you can show/hide the 3 values. The minimum is to keep atleast one active. The settings can be reached from the system tray icon.

Saif

Changes (what I did the last 2 hours):

  • Fixed up the settings window. The layout looks A LOT NICER than before.
  • Switched out the slider to a dropdown and make the show options cleaner.
  • Saving doesn’t close the settings page

Ran into a lotta issues with styling, I’m used to CSS so this was quite a journey

Next I’ll compile using pipinstaller and add [v1.0.0] to the github page releases for anyone to try

Attachment
Attachment
Attachment
1

Comments

Saif
Saif about 2 months ago

Ran into issues where chrome was blocking the download since I have no code certificate. so instead I’m going to upload a .zip for anyone to try.

Saif

I added a settings window that you can open from the system tray icon. Looks bad but is functional.

The settings options include:

  • showing and hiding cpu/gpu/ram. (minimum 1 must be selected)
  • Font-size 8-16px

Width of the widget changes based on if all 3 values are shown or not.

Next I’ll focus more on the actual styles of the widget and add more customization. Then after change the layout of the settings window since it’s still very simple.

Attachment
Attachment
Attachment
Attachment
0
Saif

I added a system tray icon but the icon changes dynamically based on CPU usage.
Cleaned up the widget a bit more and now it’s top-center of my screen.

Looks pretty bare-bones but the functionality is there. I’m going to focus on styling next.
I’ll make the tray icon simpler and later account for light-mode windows users.

Attachment
Attachment
Attachment
Attachment
0
Saif

I’m using Python’s tkinter for the widget and I’m using psutil and GPUtil for getting CPU, GPU, and RAM usage. The usage gets logged and updates on the window every second. I made it borderless, always-on-top, for now.
I also added a profile.json so maybe in the future there could be options instead of editing code manually/having limited presets.

Next I’m going to add system tray since the only way to exit is via terminal or task manager😂
After that I’ll probably look into python documentation for custom rounded windows

Attachment
Attachment
Attachment
0