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>
This commit is contained in:
pongsn 2026-06-29 02:23:11 -05:00
commit bbfc1f165b
6 changed files with 351 additions and 0 deletions

7
gpu-mode-tray.desktop Normal file
View file

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=GPU Mode Tray
Comment=GPU mode switcher for Lenovo Legion
Exec=/usr/local/bin/gpu-mode-tray
Icon=preferences-desktop-display
X-KDE-autostart-after=panel