mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53:09 +00:00
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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| gamelauncherprovider.cpp | ||
| gamelauncherprovider.h | ||
| gamemodecontrol.cpp | ||
| gamemodecontrol.h | ||
| gamepaddevice.cpp | ||
| gamepaddevice.h | ||
| gamepadmanager.cpp | ||
| gamepadmanager.h | ||
| powerprofilecontrol.cpp | ||
| powerprofilecontrol.h | ||