Commit graph

3 commits

Author SHA1 Message Date
pongsn
b03f0a182d Add active GPU indicator and dGPU process viewer in hybrid mode
In hybrid mode, the tray icon chip body now fills red (iGPU active) or
green (dGPU active) based on whether any process has /dev/nvidia0 open,
polled every 5s. Uses fuser instead of runtime_status because
nvidia-drm.modeset=1 keeps the PCI device active regardless of user-space
usage. Also adds a "Show dGPU processes" menu item (nvidia-smi, hybrid
mode only).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 14:11:12 -05:00
pongsn
5e45d157d1 Rename project to legion-gpu-mode-switcher
Update all name references in README, install.sh, and desktop file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 02:25:43 -05:00
pongsn
bbfc1f165b Initial release: GPU mode tray app for Lenovo Legion
PyQt6 system tray app for switching between Hybrid and NVIDIA-only
GPU modes via lenovolegionlinux (legion_cli). Includes polkit policy
for passwordless switching, KDE autostart entry, and install script.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 02:23:11 -05:00