Closed Drakulix closed 5 months ago
Needs another review, due to small fix for systems with switcheroo running but no gpu (VMs with software rendering) and the "default"-label not respecting the "prefers_dgpu" property, although launching the app with the correct preference.
Adds entries for each gpu and secondary desktop actions to the context menu of desktop entries, while keeping compatibility with pop-shell, by carefully adjusting the protocol and not exposing different gpus (which the shell-plugin can't handle).
Only change for pop-shell is the use of switcheroo to determine, if the setup should be considered "switchable".
Testing on COSMIC requires https://github.com/pop-os/cosmic-launcher/pull/85