A very quickly put-together python script to help manage multiple gamescope configurations and select one before launching a game via Steam.
- Clone the repo to your machine with
git clone https://github.com/pretzelise/gamescope-manager - Enter the repo with
cd gamescope-manager - Copy
gamescope-managerto somewhere in your$PATH - Run
cp -r .config/gamescope-manager ~/.config/gamescope-managerin the repo to copy the config file into your home folder - Make sure you have
fuzzelinstalled - Done!
Edit ~/.config/gamescope-manager/config.json to add, remove, or change your list of available configurations. I have included an example config for your reference.
All config names need to be unique to each other. You can use tags to create game-specific config lists.
Using the pre_cmd and post_cmd config options, you can set commands to run before and after gamescope has run.
- Right click the game in Steam
- Click "Properties"
- In the Launch Options box, enter:
$(gamescope-manager) %command%to list all configurations without tags (default behaviour)$(gamescope-manager -t bitcraft) %command%to list all configurations with the tagbitcraft(based on example config provided)$(gamescope-manager -t bitcraft -i) %command%to list all configurations with the tagbitcraftAND all configurations without tags$(gamescope-manager -t bitcraft othertag yet_another_tag) %command%to match multiple tags. This means if a configurations has any of the tags specified, it'll be presented before game launch.