shift-shell/components/gamingshellplugin
Marco Allegretti b42ef44e23 Add MangoHud overlay, FPS cap, and game pinning
Inject MangoHud when launching desktop and command-line games.
MANGOHUD_CONFIG is built per-launch via a QProcess instance so
env vars are isolated to each child process — qputenv is not used.

Global overlay toggle and FPS cap (Off/30/40/60) are stored as
properties on GameLauncherProvider and reflected in the quick
settings panel. Per-game overrides stored in plasmamobilerc under
[GamingPerGame/<storageId>] take precedence over the globals at
launch time.

Games can be pinned to the top of the grid. The pinned set is
persisted in plasmamobilerc [GamingPinned] and restored on start.
applyFilter() uses stable_sort so pinned games float to the top
while alphabetical order is preserved within each group.
2026-04-25 09:48:25 +02:00
..
CMakeLists.txt Add gaming session control backends 2026-04-21 09:08:03 +02:00
gamelauncherprovider.cpp Add MangoHud overlay, FPS cap, and game pinning 2026-04-25 09:48:25 +02:00
gamelauncherprovider.h Add MangoHud overlay, FPS cap, and game pinning 2026-04-25 09:48:25 +02:00
gamemodecontrol.cpp Add gaming session control backends 2026-04-21 09:08:03 +02:00
gamemodecontrol.h Add gaming session control backends 2026-04-21 09:08:03 +02:00
gamepaddevice.cpp Improve SDL gamepad prompts and feedback 2026-04-21 09:57:51 +02:00
gamepaddevice.h Improve SDL gamepad prompts and feedback 2026-04-21 09:57:51 +02:00
gamepadmanager.cpp Improve SDL gamepad prompts and feedback 2026-04-21 09:57:51 +02:00
gamepadmanager.h Improve SDL gamepad prompts and feedback 2026-04-21 09:57:51 +02:00
powerprofilecontrol.cpp Add gaming session control backends 2026-04-21 09:08:03 +02:00
powerprofilecontrol.h Add gaming session control backends 2026-04-21 09:08:03 +02:00