Flet-as-System-Tray-Icon icon indicating copy to clipboard operation
Flet-as-System-Tray-Icon copied to clipboard

Implementation of a Flet app as a system tray icon.

Flet as System Tray Icon

A simple program using PyStray to expose the possibility of a Flet app being made a System Tray icon without any issues. This program has been tested only on Windows. I hope it works on your device too. Let me know in the issue tracker if not.

Requirements

Three main requirements:

  • Flet (for the GUI)
  • PyStray (for the System tray icon)
  • Pillow (required by PyStray for the Tray icon's image)

All these are in the requirements.txt file. For simplicity:

pip install -r requirements.txt

Capture

tray gif