This is a script for Windows written in Python 3.10+ with wxPython
and hidapi
that gets the battery level of a Ninjutso Sora V2 Wireless mouse and shows it in system tray.
- Clone this repository.
- Install dependencies:
pip install -r requirements.txt
. - Change extension of script file from
sora_tray.py
tosora_tray.pyw
if you don't want to see console output.
You can modify these settings variables:
poll_rate
in seconds - how often battery charge is read. 60 sec by default.foreground_color
- color of indicator text. Tuple with RGB data.backgroung_color
- color of indicator background. Transparent by default (0, 0, 0, 0).font
- indicator font.