/MemoryDisplay

Taskbar Icon displaying the current memory usage percentage.

Primary LanguagePythonMIT LicenseMIT

RAM Monitor Taskbar Icon

The RAM Monitor Taskbar Icon is a Python script that creates a taskbar icon displaying the current memory usage or CPU percentage.
The project will run on Windows only.

You can download the Release and follow the installation instructions; this way, the RAM monitor will run as program until you perform EXIT (right-click)

Requirements

  • Python 3.6 or higher

Installation

  1. Clone this repository or download the source code.
git clone https://github.com/Raz-Dahan/MemoryDisplay.git
cd MemoryDisplay
  1. Create a virtual environment (optional but recommended):
python -m venv venv
  1. Activate the virtual environment:
venv\Scripts\activate
  1. Install the required packages from requirements.txt:
pip install -r requirements.txt

Usage

Run the ram_monitor.py script to display the taskbar icon:

python ram_monitor.py

The taskbar icon will show the current memory usage percentage.

To exit the program and stop the taskbar icon, right-click on the taskbar icon and select the "Exit" option from the menu.

Customization

You can customize the appearance of the taskbar icon by modifying the create_icon() function in the ram_monitor.py script. For example, you can change the icon size, font, colors, or add additional information to display.
If you want to use your customize code as program perform the installation instructions with this command as step one

pip install pyinstaller
pyinstaller.exe --onefile --noconsole --icon=logo.ico ram_monitor.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • The taskbar icon implementation is based on the pystray library.